![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: "Obviously, You Will Need a Java Course..."by darobin (Monk) |
on Apr 04, 2001 at 15:27 UTC ( #69620=note: print w/replies, xml ) | Need Help?? |
Actually, open(FH,"myFile.txt") or die "Nope : $!\n"; isn't really equivalent to the try-catch part above. A closer moral equivalent would be:
...or of course a number of other possible Perl constructs around the same idea. -- darobin
In Section
Perl Monks Discussion
|
|