prasaduco has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I was advised by some users to use Modern::Perl in my scripts. Is Modern::Perl downloadable? if so how and where? which directory should I download it to? because the code that i used
#!/usr/bin/perl use Modern::Perl; @wt = (1,2,3,4); print $wt[2], "\n";
gave the following result on the dos prompt of windows 7 and Perl 5.1.10
C:\strawberry\perl\programs>perl pArraymodern.plx Can't locate Modern/Perl.pm in @INC (@INC contains: C:/strawber rawberry/perl/site/lib C:\strawberry\perl\vendor\lib .) at pArr 4. BEGIN failed--compilation aborted at pArraymodern.plx line 4.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Should I download Modern::Perl
by dHarry (Abbot) on Jun 07, 2011 at 08:41 UTC | |
by prasaduco (Initiate) on Jun 07, 2011 at 08:58 UTC | |
by FunkyMonk (Chancellor) on Jun 07, 2011 at 10:07 UTC | |
by prasaduco (Initiate) on Jun 08, 2011 at 08:44 UTC | |
by FunkyMonk (Chancellor) on Jun 08, 2011 at 10:47 UTC | |
Re: Should I download Modern::Perl
by Corion (Patriarch) on Jun 07, 2011 at 08:43 UTC | |
by prasaduco (Initiate) on Jun 07, 2011 at 08:56 UTC | |
by Corion (Patriarch) on Jun 07, 2011 at 09:11 UTC |