Subject: | v-string in use/require non-portable |
Loading Proc::ProcessTable under Perl 5.10 (but not earlier Perls)
displays a warning. The easiest way I know to cause it is:
$ perl -W -MProc::ProcessTable -e ''
v-string in use/require non-portable at
/usr/local/lib/perl5/site_perl/5.10.0/darwin-2level/Proc/ProcessTable.pm
line 3.
The easiest way I know to deal with this is to change line 3 of
ProcessTable.pm to
use 5.006;
which is the syntax recommended in
perldoc -f use
The usual data are appended:
$ perl -v
This is perl, v5.10.0 built for darwin-2level
Copyright 1987-2007, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
$ uname -a
Darwin Wyants-White-Too.local 9.3.0 Darwin Kernel Version 9.3.0: Fri May
23 00:49:16 PDT 2008; root:xnu-1228.5.18~1/RELEASE_I386 i386
$