... The test is usually needed. The eval will still return, unless handler has rendered the fail entirely harmless you typically need to avoid executing...
Nick Ing-Simmons
nik@...
Oct 1, 1999 10:26 am
57222
... Seems to be there in my copy: In perl5.005_03/ext/IO/lib/IO/Socket.pm there is: ... package IO::Socket::INET; use strict; use vars qw(@ISA); ... -- Nick...
Nick Ing-Simmons
nik@...
Oct 1, 1999 10:33 am
57223
This is a bug report for perl from brent@..., generated with the help of perlbug 1.17 running under perl 5.00401. To: perlbug@... Subject:...
brent@...
Oct 1, 1999 5:22 am
57225
... OK, the 'dark hole' was simple, when found: while I was checking the database for a relevant message-id to assign the current unseen-before message to, the...
Foley, Richard
Richard.Foley@...
Oct 1, 1999 6:38 am
57226
... [...] ... malloc.c:1016: PerlIO_puts(PerlIO_stderr(),"Out of memory!\n"); Sarathy gsar@......
Gurusamy Sarathy
gsar@...
Oct 1, 1999 7:42 am
57227
Hello. While ramblering in Perl's regexp source I've noticed that (?{...}) construction is parsed in regcomp.c in too simplified way. So following mis-feature...
Konovalov, Vadim
vkonovalov@...
Oct 1, 1999 8:10 am
57228
This is a bug report for perl from makler@..., generated with the help of perlbug 1.26 running under perl 5.00503. ... [Please enter your report here]...
Piotr Klaban
makler@...
Oct 1, 1999 8:21 am
57230
... Sigh. Does this mean I would then have to do : eval { local $SIG{__EXCEPTION__}; # protect against 5.6 style local $SIG{__DIE__}; # protect against...
Nick Ing-Simmons
nik@...
Oct 1, 1999 10:43 am
57231
... New face of a known problem? eval (e.g. the require inside new Carp.pm) interracts baddly with stack-swaps (i.e. that done for the magic of STORE). ... -- ...
Nick Ing-Simmons
nik@...
Oct 1, 1999 10:47 am
57232
... I think the fix is fine. It just pretends there was no handler. ... Tom's patch does that by re-using the 'was_in_eval' flag to fake a local $SIG{__DIE__}...
Nick Ing-Simmons
nik@...
Oct 1, 1999 9:24 am
57233
... That is the difference between 'getopt' (documented as above) and 'getopts' which is documented (on the next line but one) to use the ':'. -- Nick...
Nick Ing-Simmons
nik@...
Oct 1, 1999 11:32 am
57234
Ilya Zakharevich <ilya@...> wrote ... Errr... quoting from my original post: alignbytes=8, usemymalloc=y, prototype=define ^^^^^^^^^^^^^ I...
M.J.T. Guy
mjtg@...
Oct 1, 1999 12:05 pm
57235
... Isn't it that true that $SIG{__EXCEPTION__} will not be able to *change* the exception string/object, only record it? -- "Does `competition' have an...
Joshua N Pritikin
joshua.pritikin@...
Oct 1, 1999 12:17 pm
57236
... That is true of __DIE__ these days too - but it can re-throw an alternative e.g. what do you do with : $SIG{__EXCEPTION__} = sub { die "Gibberish" }; eval...
Nick Ing-Simmons
nik@...
Oct 1, 1999 12:38 pm
57237
... This seems to fall into the category of "Any bug that causes every eval {} to have to be modified should be not so politely squashed." --tom...
Tom Christiansen
tchrist@...
Oct 1, 1999 12:41 pm
57238
... That's what I mean. This re-throwing cannot be allowed to interfere with proper exception handling. ... Yes, that must always print 'Sanity'....
Joshua N Pritikin
joshua.pritikin@...
Oct 1, 1999 12:51 pm
57239
... Tom, I don't think there's any need to be impolite, but yes, let's squash it. -- "Does `competition' have an abstract purpose?" via, but not speaking for...
Joshua N Pritikin
joshua.pritikin@...
Oct 1, 1999 12:52 pm
57240
Nick Ing-Simmons <nik@...> wrote ... The handler can't "render the fail entirely harmless". It's only option is to change the message, by issuing...
M.J.T. Guy
mjtg@...
Oct 1, 1999 1:00 pm
57241
... By which I meant handling "cannot find Foo in @INC" by find a Foo somewhere else and doing the load itself. The eval will of course return. And $@ eq...
Nick Ing-Simmons
nik@...
Oct 1, 1999 1:47 pm
57242
... getopts() returns 1 if parsing of options was successful, and '' if there were any errors. This is just like many of Perl's builtin functions, such as...
Ronald J Kimball
rjk@...
Oct 1, 1999 2:45 pm
57243
This is a bug report for perl from root@..., generated with the help of perlbug 1.26 running under perl 5.00503. ... [Please enter your...
jochen.stenzel.gp@...
Oct 1, 1999 2:58 pm
57245
... With the availability of coderefs in @INC, you should be able to do this: push @INC, \&funky_tk_loader; Sarathy gsar@......
Gurusamy Sarathy
gsar@...
Oct 1, 1999 4:51 pm
57246
Has anyone been seeing occasional coredumps in hv.c:hsplit()? I have a program here that is giving me this in a patchily reproducible way, but refuses to do...
Hugo
hv@...
Oct 1, 1999 3:47 pm
57247
So, you want to default a value if it's not set, what a great idea! my $val1 = shift || "default-value"; $val2 ||= "default-value"; Or you want to check for...
Wilson P. Snyder II
wsnyder@...
Oct 1, 1999 4:32 pm
57248
Here's why not: 1) http://www.perl.com/tchrist/defop/defconfaq.html 2) The pumpking doesn't think it's clearer, and said no. --tom...
Tom Christiansen
tchrist@...
Oct 1, 1999 4:41 pm
57249
... You need to read the p5p archives on this subject. It caused much bitter dissent within the ranks. The last word heard was that nothing would be done on...
Nathan Torkington
gnat@...
Oct 1, 1999 4:56 pm
57250
"Konovalov, Vadim" <vkonovalov@...> wrote ... It's interesting that in other analogous cases, Perl gets this right. For example perl -we '@{"{"} =...
M.J.T. Guy
mjtg@...
Oct 1, 1999 5:17 pm
57251
Barrie Slaymaker <barries@...> wrote ... Namespace pollution is a Bad Thing. Namespace pollution which isn't backward compatible is an Even...
M.J.T. Guy
mjtg@...
Oct 1, 1999 5:25 pm
57252
Ian Phillipps <ian@...> wrote ... Well, that's not quite what the man page says. It explicitly mentions use with all the *DBM modules. And I...
M.J.T. Guy
mjtg@...
Oct 1, 1999 5:31 pm
57253
Graham Barr <gbarr@...> wrote ... IO.pm contains a setting of $VERSION in the development track, but not in perl5.005_03. Something to go in perl5.005_04...