{ if( defined(my $obj = MyPack->new() ) ){ print "Inside the IF (3)\n"; } } print "Outside the IF (3)\n";
In reply to Re: Object scope and DESTROY
by perrin
in thread Object scope and DESTROY
by Rhandom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |