Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: warnings unexpecetd

by shoness (Friar)
on Aug 07, 2007 at 09:37 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2020-10-24 09:56 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (242 votes). Check out past polls.