note
taint
Greetings chromatic, and thank you for your thoughtful reply, and the great book!<br>
Indeed. The version added to my packaged Perl, was added. Sorry for the incorrect assumption.<br>
As to the "2011"; as I read the book on page <tt>i</tt>. I see the following (quoted literally):
<code>
Running Modern Perl
The Modern::Perl...
#!/usr/bin/env perl
use Modern::Perl 2011;
use autodie;
. . . which is equivalent to:
#!/usr/bin/env perl
use 5.012;
use warnings;
use autodie;
</code>
Note the "2011".<br><br>I <i>blindly</i> copied the
<code>
use Modern::Perl 2011;
</code>
into a simple Perl script. Which resulted in the error I quoted in the title of this thread.<br>
It seems clear to me at this point<br>
1) I need to upgrade my version of Modern::Perl<br>
2) I should simply disregard the "2011" in the <b>use</b> statement above<br><br>
Thanks again for taking the time to respond, and for sharing your book so freely.<br><br>
--Chris<br><br>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-977156">
<pre>#!/usr/bin/perl -Tw
<font color=#dd0000>use perl::always;</font>
my $perl_version = (5.12.5);
print $perl_version;</pre>
</div></div>
1061320
1061325