Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: first elements in array, split join and sort problem

by samurai (Monk)
on Sep 27, 2002 at 13:18 UTC ( [id://201180]=note: print w/replies, xml ) Need Help??


in reply to first elements in array, split join and sort problem

It looks like one of your $lines is an uninitialized value. You could put in your foreach loop:

next unless $line;

But that's just ignoring the problem, not fixing it. But since we can't see sample data, it's hard to analyze WHY its uninitialized.

--
perl: code of the samurai

Replies are listed 'Best First'.
Re: Re: first elements in array, split join and sort problem
by alexiskb (Acolyte) on Sep 27, 2002 at 13:34 UTC
    a section of data... thank you..
    -25,AAR ,1303.000,00,1328.000 0,ABO ,5.575,00,5.575 36,ABS ,1243.000,00,1207.000 0,ABY ,122.500,00,122.500 -0.1,ACBD ,3.050,00,3.150 -1.5,ACG ,70.000,00,71.500 -20,ACI ,2459.000,00,2479.000 0,ACID ,4.250,00,4.250 -8,ACO ,1869.000,00,1877.000

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-26 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found