kepler has asked for the wisdom of the Perl Monks concerning the following question:
and got the following error in Perl Builder: "Can't locate parent.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/DateTime/TimeZone/Floating.pm line 4. BEGIN failed--compilation aborted at C:/Perl/site/lib/DateTime/TimeZone/Floating.pm line 4. I'm confused; I saw line 4 in Floating.pm and all the classes are installed. Can someone help me out? Regards, Kepler#!/usr/bin/perl print "Content-type: text/html\n\n"; #use LWP::Simple; use DateTime; use DateTime::TimeZone; my $tz = DateTime::TimeZone->new( name => 'America/Chicago' ); my $dt = DateTime->now(); my $offset = $tz->offset_for_datetime($dt); print $offset; exit 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with installing a module
by marto (Cardinal) on Aug 15, 2014 at 14:19 UTC | |
by syphilis (Archbishop) on Aug 15, 2014 at 14:29 UTC | |
by marto (Cardinal) on Aug 15, 2014 at 14:32 UTC | |
|
Re: Problem with installing a module
by syphilis (Archbishop) on Aug 15, 2014 at 14:14 UTC |