Seems like the first time I run a new script I *always* get an error message
something like this:

  "Use of uninitialized value in printf at /Users/harrisb/Library/perl/matc
line 414."

The problem is usually I'm printing several things, so I have no idea which
variable wasn't initialized from that error.  So I usually end up pulling
all the variables apart onto separate lines with their own print commands.

But I was just thinking -- why doesn't the error just tell me which variable
was uninitialized?  e.g. 'Variable "$count" used with uninitialized value in
printf at /Users/harrisb/Library/perl/matc line 414.'

That would save me so much time debugging!  Is there a way to enable that
somehow?

- Bryan



-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to