Subject: | Weird bug in perl 5.9.2 |
I had a strange bug happen at line 63, the call looking for SUPER::$sub was not being found and the die() was being called. I fixed it by changing the line from:
my $super = __PACKAGE__->can("SUPER::$sub") or die;
To:
my $super = __PACKAGE__->SUPER::can($sub) or die "No SUPER::$sub";
It began to work. I've used Template::Timer before in the past without this problem though.. I thought this was strange. Must be the newer version of perl I just installed. Either way, I've included my perl -V output for you to look at. Let me know if you'd like further information.
--------------------------------------------------------------------
Summary of my perl5 (revision 5 version 9 subversion 2) configuration:
Platform:
osname=darwin, osvers=8.2.0, archname=darwin-64int-2level
uname='darwin dan-kubbs-power-mac-g5.local 8.2.0 darwin kernel version 8.2.0: fri jun 24 17:46:54 pdt 2005; root:xnu-792.2.4.obj~3release_ppc power macintosh powerpc '
config_args='-de -Dinc_version_list=none -Dperladmin=information_technology@autopilotmarketing.com -Dcf_email=information_technology@autopilotmarketing.com -Dusedevel -Duse64bitint -Accflags=-DPERL_Y2KWARN'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -DPERL_Y2KWARN -fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -DPERL_Y2KWARN -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.0.0 20041026 (Apple Computer, Inc. build 4061)', gccosandvers='darwin8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long 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 =' -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=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dyld.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: USE_64_BIT_INT USE_LARGE_FILES
Built under darwin
Compiled at Aug 14 2005 12:59:02
@INC:
/usr/local/lib/perl5/5.9.2/darwin-64int-2level
/usr/local/lib/perl5/5.9.2
/usr/local/lib/perl5/site_perl/5.9.2/darwin-64int-2level
/usr/local/lib/perl5/site_perl/5.9.2
/usr/local/lib/perl5/site_perl
.
--------------------------------------------------------------------