Personal tools




OS X Perl

From OrganicDesign Wiki

Jump to: navigation, search
  1. Location

/user/bin/perl

  1. Version

perl -v

This is perl, v5.8.6 built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail)

Copyright 1987-2004, 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.

  1. Configuration summary

perl -V Summary of my perl5 (revision 5 version 8 subversion 6) configuration:

 Platform:
   osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level
   uname='darwin b31.apple.com 8.0 darwin kernel version 8.0.0: sat mar 26 14:15:22 pst 2005; root:xnu-792.obj~1release_ppc power macintosh powerpc '
   config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe  -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib'
   hint=recommended, useposix=true, d_sigaction=define
   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='cc', ccflags ='-g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include',
   optimize='-Os',
   cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include'
   ccversion=, gccversion='3.3 20030304 (Apple Computer, Inc. build 1809)', gccosandvers=
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
   ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
   alignbytes=8, prototype=define
 Linker and Libraries:
   ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib'
   libpth=/usr/local/lib /usr/lib
   libs=-ldbm -ldl -lm -lc
   perllibs=-ldl -lm -lc
   libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
   gnulibc_version=
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
   cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup -L/usr/local/lib'


Characteristics of this binary (from libperl):

 Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
 Locally applied patches:
       23953 - fix for File::Path::rmtree CAN-2004-0452 security issue
       33990 - fix for setuid perl security issues
 Built under darwin
 Compiled at Aug 21 2005 17:14:55
 @INC:
   /System/Library/Perl/5.8.6/darwin-thread-multi-2level
   /System/Library/Perl/5.8.6
   /Library/Perl/5.8.6/darwin-thread-multi-2level
   /Library/Perl/5.8.6
   /Library/Perl
   /Network/Library/Perl/5.8.6/darwin-thread-multi-2level
   /Network/Library/Perl/5.8.6
   /Network/Library/Perl
   /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
   /System/Library/Perl/Extras/5.8.6
   /Library/Perl/5.8.1
   .
  1. Default packages

ls /System/Library/Perl/5.8.6 AnyDBM_File.pm Env.pm PerlIO assert.pl dumpvar.pl perl5db.pl Attribute Exporter PerlIO.pm attributes.pm exceptions.pl pods AutoLoader.pm Exporter.pm Pod auto fastcwd.pl pwd.pl AutoSplit.pm ExtUtils Scalar autouse.pm fields.pm shellwords.pl B Fatal.pm Search base.pm filetest.pm sigtrap.pm Benchmark.pm File SelectSaver.pm bigfloat.pl find.pl sort.pm CGI FileCache.pm SelfLoader.pm bigint.pl finddepth.pl stat.pl CGI.pm FileHandle.pm Shell.pm bigint.pm flush.pl strict.pm CPAN Filter Switch bignum.pm getcwd.pl subs.pm CPAN.pm FindBin.pm Switch.pm bigrat.pl getopt.pl syslog.pl Carp Getopt Symbol.pm bigrat.pm getopts.pl tainted.pl Carp.pm Hash Term blib.pm hostname.pl termcap.pl Class I18N Test bytes.pm if.pm timelocal.pl DB.pm IO Test.pm bytes_heavy.pl importenv.pl unicore DBM_Filter IPC Text cacheout.pl integer.pm utf8.pm DBM_Filter.pm List Thread charnames.pm less.pm utf8_heavy.pl Devel Locale Thread.pm complete.pl locale.pm validate.pl Digest Math Tie constant.pm look.pl vars.pm Digest.pm Memoize Time ctime.pl newgetopt.pl vmsish.pm DirHandle.pm Memoize.pm UNIVERSAL.pm darwin-thread-multi-2level open.pm warnings Dumpvalue.pm NEXT Unicode dbm_filter_util.pl open2.pl warnings.pm Encode NEXT.pm User diagnostics.pm open3.pl English.pm Net abbrev.pl dotsh.pl overload.pm

  1. Number of default packages

ls /System/Library/Perl/5.8.6 | wc -w

    136

The GNU Project Debian Linux Ubuntu Linux Wikipedia Affiliate Button MediaWiki