Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Completely lost - 'Use of uninitialized value in pattern match...' error :(

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.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-20 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found