Subject: | v-string in use/require non-portable at C:/strawberry/perl/site/lib/Modern/Perl.pm line 18. |
Date: | Fri, 6 Feb 2009 23:51:00 +0100 |
To: | <bug-Modern-Perl [...] rt.cpan.org> |
From: | "Damien Learns Perl" <damienlearnsperl [...] gmx.com> |
When I run the following script in StrawberryPerl (perl, v5.10.0 built for MSWin32-x86-multi-thread)
#!/usr/bin/perl
use Modern::Perl;
I get this error message:
"v-string in use/require non-portable at C:/strawberry/perl/site/lib/Modern/Perl.pm line 18."
I do NOT get the error message when my script is:
use 5.10.0;
use strict;
use warnings;
use feature ();
sub import {
warnings->import();
strict->import();
feature->import(':5.10');
}
(which is a copy of the Modern::Perl module).
Regards,
Damien.