Hi All Perl experts,
I am new to Perl and got a real stupid question. We are trying to install the Date:Calc package for some calculations with dates.The security guys mentioned they won't install it as root in /usr/bin/perl but have asked us to install it in any directory and use it from there.
Here's the sample program that I created to test this scenario.But I am getting an error.Any help will be appreciated.
(rk3388) mpdev1=> ./test1.pl
Can't locate Date/Calc.pm in @INC (@INC contains: /home/ss1880/Date-Ca
BEGIN failed--compilation aborted at ./test1.pl line 4.
use lib '/home/ss1880/Date-Calc-6.3/lib/Date/';
my @today = (localtime)[5,4,3];
$today += 1900;
my @birthday = (1980, 4, 3);
my $days = Delta_Days(@birthday, @today);
print "I am $days days old\n";