Front page | perl.perl5.porters |
Postings from April 2000
[ID 20000424.002] sub END not called after some compile errors
Thread Next
From:
jonas
Date:
April 24, 2000 08:35
Subject:
[ID 20000424.002] sub END not called after some compile errors
Message ID:
m12jkuY-001Z0TC@paranormal.se
This is a bug report for perl from jonas@astral.paranormal.o.se,
generated with the help of perlbug 1.28 running under perl v5.6.0.
-----------------------------------------------------------------
[Please enter your report here]
There is a incinsistent change of behaviour between v5.005_03 and v5.6.0
Only v5.005_03 calls END for this:
#!/usr/local/bin/perl
END {print "After\n"}
priint "error";
__END__
But both calls END for this compile error:
#!/usr/local/bin/perl
END {print "After\n"}
compile error now;
__END__
I would prefere the END to be called so that it could clean up all
things done in BEGIN.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
Site configuration information for perl v5.6.0:
Configured by jonas at Sat Apr 1 02:14:50 CEST 2000.
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.12, archname=i586-linux-thread-multi
uname='linux astral.paranormal.o.se 2.2.12 #1 thu oct 14 09:29:24 est 1999 i586 unknown '
config_args='-Uinstallusrbinperl -Dusethreads -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O2', gccversion=2.95.2 20000220 (Debian GNU/Linux)
cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include'
ccflags ='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt
libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.6.0:
/usr/local/lib/perl5/5.6.0/i586-linux-thread-multi
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/i586-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
.
---
Environment for perl v5.6.0:
HOME=/home/jonas
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/games:/usr/X11R6/bin:/home/jonas/bin:.
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[ID 20000424.002] sub END not called after some compile errors
by jonas