I get the same result.
Summary of my perl5 (revision 5 version 18 subversion 1) configuration:
Platform:
osname=darwin, osvers=10.8.0, archname=darwin-thread-multi-2level
uname='darwin neko.activestate.com 10.8.0 darwin kernel version 10.8.0: tue jun 7 16:33:36 pdt 2011; root:xnu-1504.15.3~1release_i386 i386 '
config_args='-ders -Dcc=gcc -Dusethreads -Duseithreads -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Duse64bitint -Ud_poll -Ui_poll -Ui_libutil -Aldflags=-Wl,-search_paths_first -Alddlflags=-Wl,-search_paths_first -Accflags=-arch x86_64 -Aldflags=-arch x86_64 -Alddlflags=-arch x86_64 -Accflags=-DUSE_SITECUSTOMIZE -Duselargefiles -Accflags=-DPERL_RELOCATABLE_INCPUSH -Accflags=-fno-merge-constants -Dprefix=/usr/local/ActivePerl-5.18 -Dprivlib=/usr/local/ActivePerl-5.18/lib -Darchlib=/usr/local/ActivePerl-5.18/lib -Dsiteprefix=/usr/local/ActivePerl-5.18/site -Dsitelib=/usr/local/ActivePerl-5.18/site/lib -Dsitearch=/usr/local/ActivePerl-5.18/site/lib -Dsed=/usr/bin/sed -Duseshrplib -Dcf_by=ActiveState -Dcf_email=support@ActiveState.com'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/usr/bin/gcc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe -fstack-protector',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe -fstack-protector'
ccversion='', gccversion='Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/cc -mmacosx-version-min=10.5', ldflags =' -Wl,-search_paths_first -arch x86_64 -fstack-protector'
libpth=/usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=, 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 -Wl,-search_paths_first -arch x86_64 -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_RELOCATABLE_INCPUSH
PERL_SAWAMPERSAND USE_64_BIT_ALL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API USE_SITECUSTOMIZE
Locally applied patches:
ActivePerl Build 1800 [297570]
Built under darwin
Compiled at Sep 20 2013 20:14:50
@INC:
/Users/apriven/Library/ActivePerl-5.18/lib
/usr/local/ActivePerl-5.18/site/lib
/usr/local/ActivePerl-5.18/lib
.