Subject: | $ampm undef warning (possibly 5.12-related) |
$ perl -wle 'use Time::ParseDate; parsedate("2010-01-01 12:01:01")'
Use of uninitialized value $ampm in uc at
/home/sartak/.perl/perlbrew/perls/perl-5.12.0/lib/site_perl/5.12.0/Time/ParseDate.pm
line 733.
Summary of my perl5 (revision 5 version 12 subversion 0) configuration:
Platform:
osname=darwin, osvers=10.2.0, archname=darwin-2level
uname='darwin kaitain.local 10.2.0 darwin kernel version 10.2.0: tue
nov 3 10:37:10 pst 2009; root:xnu-1486.2.11~1release_i386 i386 i386 '
config_args='-de -Dprefix=/home/sartak/.perl/perlbrew/perls/perl-5.12.0'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include'
ccversion='', gccversion='4.2.1 (Apple Inc. build 5646) (dot 1)',
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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='
-fstack-protector -L/opt/local/lib'
libpth=/opt/local/lib /usr/lib
libs=-lgdbm -ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/opt/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
USE_PERL_ATOF
Built under darwin
Compiled at Apr 13 2010 11:09:22
%ENV:
PERL5LIB="lib/:lib/:"
PERLBREW_ROOT="/home/sartak/.perl/perlbrew"
@INC:
lib/
lib/
/home/sartak/.perl/perlbrew/perls/perl-5.12.0/lib/site_perl/5.12.0/darwin-2level
/home/sartak/.perl/perlbrew/perls/perl-5.12.0/lib/site_perl/5.12.0
/home/sartak/.perl/perlbrew/perls/perl-5.12.0/lib/5.12.0/darwin-2level
/home/sartak/.perl/perlbrew/perls/perl-5.12.0/lib/5.12.0
.