Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: "Use of uninitialized value" due to empty elements in an array

by ikegami (Pope)
on Mar 31, 2010 at 15:27 UTC ( #832076=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @line_split = split(/\t/, $line, -1);
    
  2. or download this
    if (@line_split != 3) {
       die("Not enough fields in line $.\n");
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2015-07-06 22:14 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 (83 votes), past polls