Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: passing lexical filehandles

by sn1987a (Chaplain)
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) {

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?
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: (7)
As of 2019-04-26 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (128 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!