Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: export variable outside foreach

by AnomalousMonk (Archbishop)
on Jun 19, 2014 at 09:10 UTC ( [id://1090430]=note: print w/replies, xml ) Need Help??


in reply to Re^2: export variable outside foreach
in thread export variable outside foreach

@lines being empty seems unlikely, since it was grepped out of the file.

I don't understand this point. Why would grep-ing the contents of the file make it likely that the  @lines array must contain something? (Or does this refer to a previous version of the posted code that was changed without citation?)

Replies are listed 'Best First'.
Re^4: export variable outside foreach
by Eily (Monsignor) on Jun 19, 2014 at 09:18 UTC

    My bad, I read "@lines is empty" correctly, but understood "@lines contains empty strings" :).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found