Siegfried Heintze wrote:
Does this qualify as a simplified version of the code snippet below?
eval{
print "begin\n";
die "throw";
print "done main\n";
};
if(my $err=$@){
print "Exception = $err\n";
} else {
print "No exception\n";
}
When I single step thru this with the Open Perl IDE debugger on ActiveState
Perl 5.8+, it prints "No Exception". I'm expecting it to print "Exception =
throw".
Is there a bug in my program, a bug in perl, or a bug in me?
What happens outside of the debugger?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>