We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 799e23a + c118c48 commit 3340c55Copy full SHA for 3340c55
diff-so-fancy
@@ -4,10 +4,10 @@ my $VERSION = "1.2.0";
4
5
#################################################################################
6
7
-use Cwd qw(abs_path); # For realpath()
8
-use File::Basename; # for dirname
9
-use Encode; # For handling UTF8 stuff
10
-use lib dirname(abs_path($0)) . "/lib"; # Add the local lib/ to @INC
+use File::Spec; # For catdir
+use File::Basename; # For dirname
+use Encode; # For handling UTF8 stuff
+use lib dirname(File::Spec->catdir($0)) . "/lib"; # Add the local lib/ to @INC
11
use DiffHighlight;
12
13
use strict;
0 commit comments