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

Re: use of uninitialized value in array

by hdb (Parson)
on Jul 01, 2013 at 09:10 UTC ( #1041786=note: print w/ replies, xml ) Need Help??


in reply to Reaped: use of uninitialized value in array

First hint: the statement <FILE> reads the contents of FILE until the next newline, chomp removes that trailing newline, so as a result $_ will not contain any newlines afterwards. So your splitting on newlines makes no sense as neither $first nor $second (being parts of $_) will contain any newline.




Comment on Re: use of uninitialized value in array
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-07-25 23:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls