my_md5sum:

  Added code to use locally installed perl modules first
parent 1afa8959
...@@ -10,10 +10,21 @@ ...@@ -10,10 +10,21 @@
# Written by Matt Wagner <matt@mysql.com> # Written by Matt Wagner <matt@mysql.com>
# #
use strict; use strict;
#
# Use local perl libraries first. 'unshift' adds to the front of @INC
# The local perl library dir hidden is $HOME/.perllibs on each build host
#
BEGIN
{
my $homedir= $ENV{HOME};
unshift (@INC, "$homedir/.perllibs");
}
use Digest::MD5; use Digest::MD5;
use Getopt::Long; use Getopt::Long;
my $VER= "1.1"; my $VER= "1.2";
# #
# Strip the leading path info off the program name ($0). We want 'my_md5sum' # Strip the leading path info off the program name ($0). We want 'my_md5sum'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment