Subject: | v-string in use/require non-portable |
Date: | Sun, 1 Feb 2009 11:43:04 -0500 |
To: | bug-modern-perl [...] rt.cpan.org |
From: | David Moreno <david [...] axiombox.com> |
After installing Modern::Perl, I try to run the following simple script:
cerdo /tmp $ cat test.pl
#!/usr/bin/env perl
use Modern::Perl;
print "Hello modern Perl!";
cerdo /tmp $
And running it, I get:
cerdo /tmp $ perl test.pl
v-string in use/require non-portable at /opt/local/lib/perl5/site_perl/
5.10.0/Modern/Perl.pm line 18.
Hello modern Perl!
I believe this is ironic, coming from a module intending modernness in
Perl, however, changing the "use 5.10.0" to a portable format
"5.10_000" (maybe? I'm not too experienced with the format), would
issue a correct error to previous Perl versions to get modern :-)
However, I wonder if this behavior was intended by the author, since
this seems too obvious to me to have missed it.
In any way, thanks for bringing updated life to Perl.
David Moreno
http://damog.net/