Re: Use of uninitialized value in pattern match ..., <> chunk 2

2005-02-23 Thread John W. Krahn
mark McWilliams wrote: What is the following telling me , especially the chunk 2? Use of uninitialized value in pattern match (m//) at ./lo line 27, <> chunk 2 That means that the variable that is bound to the pattern match contains the value undef. "chunk 2" means that you are currently reading t

Use of uninitialized value in pattern match ..., <> chunk 2

2005-02-23 Thread mark McWilliams
What is the following telling me , especially the chunk 2? Use of uninitialized value in pattern match (m//) at ./lo line 27, <> chunk 2 I used if (defined ... to get rid of a few other errors. this is in reference to the following code edited to reduce size while (defined($in = <>)) { if