Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: PerlMonks has changed me

by polypompholyx (Chaplain)
on Aug 31, 2005 at 12:02 UTC ( #488080=note: print w/ replies, xml ) Need Help??

in reply to PerlMonks has changed me

Using this:

open my $FH, '<', $file or die "Can't open '$file' for reading: $!\n";

instead of this:

open FH, $file;

The real revelation was lexical filehandles: I'd been happily localising typeglobs for years, but I somehow managed to miss lexical filehandles when 5.6.0 came out, and didn't realise they existed until seeing them in a node on here about six months ago...

Comment on Re: PerlMonks has changed me
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://488080]
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: (16)
As of 2015-03-31 18:52 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (670 votes), past polls