Skip to content
Snippets Groups Projects
Commit 2d499f1f authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

pwd zjistovana pomoci modulu FindBin

parent 791ae2eb
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,8 @@
use strict;
use warnings;
use File::Basename;
use FindBin qw($RealBin $RealScript);
FindBin::again();
#------------------------------------------------------------------------------
# Warden 2.2 Client, Receiver, Example
......@@ -21,8 +22,7 @@ use File::Basename;
# This code should developer add into his/her application.
# Load Warden client library and use main module
my $bin = File::Basename::dirname(__FILE__);
use lib "$bin/../lib";
use lib "$RealBin/../lib";
use WardenClient;
# Definition of requested event type. This attributes is also set on server
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment