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

pwd zjistovana pomoci modulu FindBin

parent 2fb1cb8a
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);
FindBin::again();
#------------------------------------------------------------------------------
# Warden 2.2 Client, Info, 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;
# obtain information about already registered clients
......
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