Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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 (Hermit) on Jan 16, 2014 at 20:04 UTC
    Thank you.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2015-11-28 23:43 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls