Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: I fear my code is unreadable

by Boldra (Deacon)
on May 07, 2008 at 06:19 UTC ( [id://685150]=note: print w/replies, xml ) Need Help??


in reply to Re^3: I fear my code is unreadable
in thread I fear my code is unreadable

Activeperl 5.60
C:\>perl -V Summary of my perl5 (revision 5 version 6 subversion 0) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultip +licity=def ine useperlio=undef d_sfio=undef uselargefiles=undef use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=u +ndef Compiler: cc='cl', optimize='-O1 -MD -DNDEBUG', gccversion= cppflags='-DWIN32' ccflags ='-O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_D +ES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize =4 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"C:\ +Perl\lib\C ORE" -machine:x86' libpth="C:\Perl\lib\CORE" libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib + comdlg32 .lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uui +d.lib wsoc k32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt. +lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -l +ibpath:"C: \Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEX +T PERL_IMP LICIT_SYS Locally applied patches: ActivePerl Build 623 Built under MSWin32 Compiled at Dec 15 2000 16:27:07 @INC: C:/Perl/lib C:/Perl/site/lib . C:\>perl -MList::Util -e "print """Ok\n""";" Can't locate List/Util.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/ +site/lib . ). BEGIN failed--compilation aborted. C:\>


- Boldra

Replies are listed 'Best First'.
Re^5: I fear my code is unreadable
by doom (Deacon) on May 08, 2008 at 13:50 UTC
    Yes, I see. It isn't your platform, it's the age of your perl installation. It appears that List::Util didn't make it into core until perl 5.7 and you're using 5.6 (and a very old version at that). You have my sympathies, but you really need to request that the version of perl should be upgraded. 5.10 just came out, and 5.8 has been available for ages...

    To see when a module was added to core:

    perl -MModule::CoreList -e "print Module::CoreList->first_release('Lis +t::Util'), \"\n\""
    This responds: 5.007003

      A colleague is working on a 5.10 upgrade now, but since we have a heterogeneous network of 1000+ machines, it will take a little while. And naturally, he isn't just upgrading all the perl installs, he's building a system to do further upgrades in the future. So until that's working, I have to work with 8+ year old perls :|

      Thanks very much for the Module::CoreList tip! That will be /very/ useful until that upgrade is finished.

      I've been bitten once already by thinking something was "standard library" and then discovering it wasn't installed across all our machines. I'd gotten to the point where I was only prepared to believe something was standard if it was listed in the 1st edition Camel as such. With Module::CoreList I can check a bit more finely.



      - Boldra

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://685150]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-19 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found