I don't really like Solaris 10. I am trying to run a simple script to accept the date and return date of this date:
use strict;
use Time::ParseDate;
my $date1 = "Mon Mar 27 05:54:08 CDT 2009";
my $time1 = parsedate($date1);
print $time1;
Works great on the RHEL field, but is inserted into Solaris (both have 5.8.8 Perl), which gives the following error message.
Cannot find Date / Parse.pm in @INC (@INC contains: /usr/perl5/5.8.4/lib/sun4-solaris-64int/usr/perl5/5.8.4/lib/usr/perl5/site_perl/5.8. 4 / sun4-solaris-64int / usr / perl5 / site_perl / 5.8.4 / usr / perl5 / site_perl / usr / perl5 / vendor_perl / 5.8.4 / sun4-solaris-64int / usr / perl5 / vendor_perl / 5.8.4 / usr / perl5 / vendor_perl.) On line try1.pl 3. BEGIN failed - compilation is interrupted on line try1.pl 3.
What is wrong here? .. How to fix it?
.. , // - Solaris, script , Solaris 10!. .: (