Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: warnings unexpecetd

by shoness (Friar)
on Aug 07, 2007 at 09:37 UTC ( [id://630990]=note: print w/replies, xml ) Need Help??


in reply to warnings unexpecetd

If the "else" branch in line 51 is taken, your variable $delay_ATO_CTO_min will be "" when you reach line 60 and you'll get the warning you mention. Please consider:
if (($delay_ATO_CTO_min ne "") && ($delay_ATO_CTO_min > 10)) {
Also, the warning for line 48:
Use of uninitialized value in concatenation (.) or string at ./630978. +pl line 66, <INFILE> line 1 (#1)
is another clue that many of your values aren't initialized correctly. Many lines in your input file don't have any "aircraft information", just a timestamp. You should skip those lines (I guess). I think you also "split" on ";" when you should split on whitespace. Consider this instead...
my @Parts = split('\s+'); next if (scalar @Parts != 6);
Good luck!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-19 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found