Re: uninitialized value

2011-12-07 Thread Chris Stinemetz
Thanks John and Ken. Your advice helped me figure out the problem. Take care, Chris

Re: uninitialized value

2011-12-07 Thread John W. Krahn
Chris Stinemetz wrote: after converting an older Perl script to using strict pragma I am getting the follow error: I can't seem to figure out how to resolve this. I'm in hopes that there is someone that can let me know what I am missing? Thank you in advance! There are two changes I would m

RE: uninitialized value

2011-12-07 Thread Ken Slater
> -Original Message- > From: Chris Stinemetz [mailto:chrisstinem...@gmail.com] > Sent: Wednesday, December 07, 2011 4:11 PM > To: beginners@perl.org > Subject: uninitialized value > > after converting an older Perl script to using strict pragma I am > getting the follow error: > > I can'

uninitialized value

2011-12-07 Thread Chris Stinemetz
after converting an older Perl script to using strict pragma I am getting the follow error: I can't seem to figure out how to resolve this. I'm in hopes that there is someone that can let me know what I am missing? Thank you in advance! Chris Use of uninitialized value in numeric eq (==) at ./

Re: Removing out new lines

2011-12-07 Thread C.DeRykus
On Dec 1, 6:43 am, whereismel...@gmail.com (Melvin) wrote: > Hi I have a file in the following format > > 111 > 222 > 333 > > Now I need to print the following output from the given input file as > 111 222 333 > The versatile File::Slurp can be a handy shortcut: # File::Slurp will croak if there'