Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: passing lexical filehandles

by sn1987a (Monk)
on Jan 15, 2014 at 20:25 UTC ( #1070725=note: print w/ replies, xml ) Need Help??


in reply to passing lexical filehandles

One more style note:

foreach (in $root) { my $thing = $_;
is more idiomatically written:
foreach my $thing (in $root) {
or more commonly:
for my $thing (in $root) {


Comment on Re: passing lexical filehandles
Select or Download Code
Re^2: passing lexical filehandles
by girarde (Friar) on Jan 16, 2014 at 20:04 UTC
    Thank you.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1070725]
help
Chatterbox?
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 2014-10-21 01:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (94 votes), past polls