Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Mnemonic Devices for Perl Programming

by brianarn (Chaplain)
on Nov 16, 2001 at 06:31 UTC ( #125746=note: print w/replies, xml ) Need Help??

in reply to Mnemonic Devices for Perl Programming

Well, one thing I used to forget a lot was to make sure I successfully opened a filehandle properly, cause it'd cause my code to die in a funny way, so I reminded myself to
open FH, "< blah.txt" or die "Can't open file: $!";
and I could never remember what the special variable was, until I came up with the thought that, when I cause I program to die like this, I'm taking it out with a bang.

<rimshot here>


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://125746]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2022-08-11 10:56 GMT
Find Nodes?
    Voting Booth?

    No recent polls found