Best and latest Perl books are avail on O’Reilly’s CD Bookshelf online
C:>perl -v
This is perl, v5.8.6 built for MSWin32-x86-multi-thread <= This indicates it’s a 32bit distribution.
(with 3 registered patches, see perl -V for more detail)
Copyright 1987-2004, Larry Wall
Binary build 811 provided by ActiveState Corp. http://www.ActiveState.com
ActiveState is a division of Sophos.
Built Dec 13 2004 09:52:01
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.
C:>perl -e “print “This is a one line program outn””; -e “print “This is the second line””;
This is a one line program out
This is the second line
C:>
C:>perl -V -e “print “nnAbove is my detailed configurationn””;
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=”
config_args=’undef’
hint=recommended, useposix=true, d_sigaction=undef
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc=’cl’, ccflags =’-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT
optimize=’-MD -Zi -DNDEBUG -O1′,
cppflags=’-DWIN32′
ccversion=”, gccversion=”, gccosandvers=”
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype=’long’, ivsize=4, nvtype=’double’, nvsize=8, Off_t=’__int64′, lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld=’link’, ldflags =’-nologo -nodefaultlib -debug -opt:ref,icf -libpath:”C:PerllibCORE” -machine:x86′
libpth=lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.l
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib versi
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
gnulibc_version=’undef’
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=’ ‘
cccdlflags=’ ‘, lddlflags=’-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:”C:PerllibCORE” -machine:x86′
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
Locally applied patches:
ActivePerl Build 811
21540 Fix backward-compatibility issues in if.pm
23565 Wrong MANIFEST.SKIP
Built under MSWin32
Compiled at Dec 13 2004 09:52:01
@INC:
C:/Perl/lib
C:/Perl/site/lib
.
Above is my detailed configuration
C:>
One line program to print all the PERL environment variables sorted in Ascending into a file.
C:>perl -e “foreach (sort keys %ENV) {print “$_ = $ENV{$_}n”; } “; > Tempperl-env.txt
C:>