Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: passing lexical filehandles

by sn1987a (Friar)
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
Replies are listed 'Best First'.
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 imbibing at the Monastery: (9)
As of 2015-07-31 02:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls