perl.j has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
When I got on my PC today I found an unpleasant surprise. Every day, the first Perl Program I run is a very simple one to make sure everything is working smoothly:
use 5.12.4; use strict; use warnings; my $greeting="Hello, World"; print $greeting;
Today however, things did not go as planned. I got the following error when trying to run the program: Can't locate strict.pm in @INC (@INC contains: .). @INC did not used to contain a ".". What happened here and how can I fix this?
Thanks
--perl.j
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: @INC Errors
by chromatic (Archbishop) on Oct 09, 2011 at 02:50 UTC | |
by ikegami (Patriarch) on Oct 09, 2011 at 05:41 UTC | |
by chromatic (Archbishop) on Oct 09, 2011 at 06:11 UTC | |
by ikegami (Patriarch) on Oct 09, 2011 at 09:46 UTC | |
by perl.j (Pilgrim) on Oct 09, 2011 at 13:02 UTC | |
by chromatic (Archbishop) on Oct 09, 2011 at 21:39 UTC | |
by perl.j (Pilgrim) on Oct 10, 2011 at 09:37 UTC | |
by Anonymous Monk on Oct 10, 2011 at 10:21 UTC | |
by Anonymous Monk on Oct 10, 2011 at 10:37 UTC | |
Re: @INC Errors
by Khen1950fx (Canon) on Oct 09, 2011 at 03:44 UTC | |
by Anonymous Monk on Oct 10, 2011 at 10:34 UTC |
Back to
Seekers of Perl Wisdom