Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: uninitialized error

by moritz (Cardinal)
on Feb 26, 2013 at 19:52 UTC ( #1020750=note: print w/replies, xml ) Need Help??


in reply to uninitialized error

My guess is that a few of the input rows are simply not of the same syntax as the others (or some values are missing).

From your quite long post I didn't quite understand which value is undefined, but if you have identified it, do something like

use Data::Dumper; $Data::Dumper::Useqq = 1; # and then in the loop: unless (defined $value_that_is_sometimes_undefined) { print STDERR Dumper($whole_line); }

to see if the input line is still what you thought it was.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020750]
help
Chatterbox?
[Corion]: Mhrrrr. Some project made changes to a report I ingest. I tell them "the format of the new rows is bad". They change it, without understanding/ knowing what other systems might act on this suffix. While it now works for me, I'm not really happy with ...
[Corion]: ... their approach to changing things and waiting who screams at them.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-07-24 14:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (354 votes). Check out past polls.