Skip Menu |

This queue is for tickets about the Modern-Perl CPAN distribution.

Report information
The Basics
Id: 42951
Status: resolved
Priority: 0/
Queue: Modern-Perl

People
Owner: Nobody in particular
Requestors: david [...] axiombox.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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/
Subject: Re: [rt.cpan.org #42951] AutoReply: v-string in use/require non-portable
Date: Sun, 1 Feb 2009 11:57:26 -0500
To: bug-Modern-Perl [...] rt.cpan.org
From: David Moreno <david [...] axiombox.com>
On Feb 1, 2009, at 11:44 AM, Bugs in Modern-Perl via RT wrote: Show quoted text
> cerdo /tmp $ cat test.pl > #!/usr/bin/env perl > > use Modern::Perl; > > print "Hello modern Perl!";
And by "print" I obviously meant "say" :-)
I believe I've fixed this in 1.03. Please let me know if you still see it. Thanks for reporting!