In File::Util version 3.22 (latest, the version tested), the first three lines are as follows: package File::Util; use 5.006; use strict;
The code already uses the correct syntax. Were there other issues that I'm missing? -- Tommy Butler On 31 Dec 2007 01:53:51 +0100, Slaven Rezic <[EMAIL PROTECTED]> wrote: > "Tommy Butler" <[EMAIL PROTECTED]> writes: > > > File::Util requires Perl 5.6 or higher. > > > > The "use 5.6.0;" syntax is incompatible with older perl versions, > hence the strange error message. To stay compatible (and to avoid > getting FAIL reports for old perls), you should write "use 5.006;". > Note also that the "use X.Y.Z" syntax emits a warning in perl 5.10.0: > > $ perl5.10.0 -we 'use 5.6.0;' > v-string in use/require non-portable at -e line 1. > > Regards, > Slaven > > > -- > > Tommy Butler > > > > > > > > On 12/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > This distribution has been tested as part of the cpan-testers > > > effort to test as many new uploads to CPAN as possible. See > > > http://testers.cpan.org/ > > > > > > Please cc any replies to [email protected] to keep other > > > test volunteers informed and to prevent any duplicate effort. > > > > > > -- > > > Dear Tommy Butler, > > > > > > This is a computer-generated report for File-Util-3.22 > > > on perl-5.00505, created automatically by CPAN-Reporter-1.0601 > > > and sent to the CPAN Testers mailing list. > > > > > > If you have received this email directly, it is because the person > testing > > > your distribution chose to send a copy to your CPAN email address; > there > > > may be a delay before the official report is received and processed > > > by CPAN Testers. > > > > > > Thank you for uploading your work to CPAN. However, it appears that > > > there were some problems with your distribution. If these results are > > > not what you expect or if you would like to learn how to avoid FAIL > > > reports for missing dependencies, unsupported operating systems, etc., > > > please consult "Notes for CPAN Authors" on the CPAN Testers Wiki: > > > http://cpantest.grango.org > > > > > > Sections of this report: > > > > > > * Tester comments > > > * Program output > > > * Prerequisites > > > * Environment and other context > > > > > > ------------------------------ > > > TESTER COMMENTS > > > ------------------------------ > > > > > > Additional comments from tester: > > > > > > [none provided] > > > > > > ------------------------------ > > > PROGRAM OUTPUT > > > ------------------------------ > > > > > > Output from '/usr/local/bin/perl5.00505 Makefile.PL': > > > > > > Can't locate 5.60 in @INC (@INC contains: > > > /usr/local/src/CPAN/build/Parallel-ForkManager-0.7.5-IdwJRk/blib/arch > > > /usr/local/src/CPAN/build/Parallel-ForkManager-0.7.5-IdwJRk/blib/lib > > > /usr/local/src/CPAN/build/UNIVERSAL-require-0.11-gUmFiz/blib/arch > > > /usr/local/src/CPAN/build/UNIVERSAL-require-0.11-gUmFiz/blib/lib > > > /usr/local/src/CPAN/build/Net-SSH-0.08-Gg0UuH/blib/arch > > > /usr/local/src/CPAN/build/Net-SSH-0.08-Gg0UuH/blib/lib > > > /usr/perl5.005_05/lib/5.00505/amd64-freebsd > /usr/perl5.005_05/lib/5.00505 > > > /usr/perl5.005_05/lib/site_perl/5.005/amd64-freebsd > > > /usr/perl5.005_05/lib/site_perl/5.005 .) at Makefile.PL line 2. > > > > > > ------------------------------ > > > PREREQUISITES > > > ------------------------------ > > > > > > Prerequisite modules loaded: > > > > > > No requirements found > > > > > > ------------------------------ > > > ENVIRONMENT AND OTHER CONTEXT > > > ------------------------------ > > > > > > Environment variables: > > > > > > PATH = > > > > /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin:/usr/perl5.8.0/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/pilot/bin:/home/cpansand/bin/freebsd6.2:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/X386/bin:/usr/games:/home/cpansand/devel:/mnt/i386/usr/home/e/eserte/work/srezic-misc/scripts > > > PERL5LIB = > > > /usr/local/src/CPAN/build/Parallel-ForkManager-0.7.5-IdwJRk > /blib/arch:/usr/local/src/CPAN/build/Parallel-ForkManager-0.7.5-IdwJRk > /blib/lib:/usr/local/src/CPAN/build/UNIVERSAL-require-0.11-gUmFiz > /blib/arch:/usr/local/src/CPAN/build/UNIVERSAL-require-0.11-gUmFiz > /blib/lib:/usr/local/src/CPAN/build/Net-SSH-0.08-Gg0UuH > /blib/arch:/usr/local/src/CPAN/build/Net-SSH-0.08-Gg0UuH/blib/lib > > > PERL5_CPANPLUS_IS_RUNNING = 12590 > > > PERL5_CPAN_IS_EXECUTING = > > > /usr/local/src/CPAN/build/File-Util-3.22-vJsx81/Makefile.PL > > > PERL5_CPAN_IS_RUNNING = 12590 > > > PERL_HTML_DISPLAY_CLASS = HTML::Display::Mozilla > > > SHELL = /usr/local/bin/zsh > > > TERM = xterm > > > > > > Perl special variables (and OS-specific diagnostics, for MSWin32): > > > > > > $^X = perl5.00505 > > > $UID/$EUID = 1023 / 1023 > > > $GID = 1023 1023 1023 > > > $EGID = 1023 1023 1023 > > > > > > Perl module toolchain versions installed: > > > > > > Module Have > > > ------------------- --------- > > > CPAN 1.9205 > > > Cwd 3.25 > > > ExtUtils::CBuilder n/a > > > ExtUtils::Command 1.13 > > > ExtUtils::Install 1.41 > > > ExtUtils::MakeMaker 6.36 > > > ExtUtils::Manifest 1.51 > > > ExtUtils::ParseXS n/a > > > File::Spec 3.25 > > > Module::Build 0.2808_01 > > > Module::Signature n/a > > > Test::Harness 2.64 > > > Test::More 0.72 > > > YAML n/a > > > YAML::Syck n/a > > > version 0.74 > > > > > > > > > -- > > > > > > Summary of my perl5 (5.0 patchlevel 5 subversion 5) configuration: > > > Platform: > > > osname=freebsd, osvers=6.2-release, archname=amd64-freebsd > > > uname='freebsd biokovo-amd64.herceg.de 6.2-release freebsd > 6.2-release > > > #0: fri jan 12 08:32:24 utc 2007 > > > [EMAIL PROTECTED]:usrobjusrsrcsysgeneric amd64 ' > > > hint=recommended, useposix=true, d_sigaction=define > > > usethreads=undef useperlio=undef d_sfio=undef > > > Compiler: > > > cc='ccache cc', optimize='-O2 -pipe', gccversion=3.4.6 [FreeBSD] > > > 20060305 > > > cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H > -I/usr/local/include' > > > ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H > -I/usr/local/include' > > > stdchar='char', d_stdstdio=undef, usevfork=true > > > intsize=4, longsize=8, ptrsize=8, doublesize=8 > > > d_longlong=define, longlongsize=8, d_longdbl=define, > longdblsize=16 > > > alignbytes=8, usemymalloc=n, prototype=define > > > Linker and Libraries: > > > ld='ccache cc', ldflags ='-Wl,-E -L/usr/local/lib' > > > libpth=/usr/lib /usr/local/lib > > > libs=-lgdbm -lm -lc -lcrypt > > > libc=, so=so, useshrplib=false, libperl=libperl.a > > > Dynamic Linking: > > > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' > > > cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib' > > > > > > > -- > Slaven Rezic - slaven <at> rezic <dot> de > > tknotes - A knotes clone, written in Perl/Tk. > http://ptktools.sourceforge.net/#tknotes >
