good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Completely lost - 'Use of uninitialized value in pattern match...' error :(by japhy (Canon) |
on Sep 01, 2006 at 19:49 UTC ( [id://570817]=note: print w/replies, xml ) | Need Help?? |
It's not an error, it's a warning. But yes, it's saying that $line (and thus, $source[2]) is uninitialized. You should probably check to see if there's anything in @source before you use it.
In Section
Seekers of Perl Wisdom
|
|