taint has asked for the wisdom of the Perl Monks concerning the following question:
Greetings monks,
I've been reading chromatic "Modern Perl 2011-2012 edition" -- thank you chromatic! So in deciding to take the advice at the very beginning of the book, I added
But after adding that line, I receive the following error in a script that never complained before:
Thank you for all your time, and consideration.
--Chris
I've been reading chromatic "Modern Perl 2011-2012 edition" -- thank you chromatic! So in deciding to take the advice at the very beginning of the book, I added
as stated, this translates to:use Modern::Perl 2011;
Seems reasonable. I'm useing 5.12.5, and I always use warn.use 5.012; # implies "use strict;" use warnings;
But after adding that line, I receive the following error in a script that never complained before:
Of course I'll reaquaint myself with the Modern::Perl docs. But just thought I'd mention it here, as it is quite unexpected.Modern::Perl version 2011 required--this is only version 1.03
Thank you for all your time, and consideration.
--Chris
#!/usr/bin/perl -Tw use perl::always; my $perl_version = "5.12.5"; print $perl_version;
|
---|
Back to
Seekers of Perl Wisdom