Re: How to check it a $Var is empty

2001-07-05 Thread Jeff 'japhy' Pinyan
On Jul 5, Tim Musson said: >I want to split to @Group only if the 3rd element of @Line has data. >It works, but I get an error (Use of uninitialized value in split) >using -w, strict, and diagnostics. Should I be doing this differently? > >while (<>) { chomp; >my @Line = split(/,/); > >

Re: How to check it a $Var is empty

2001-07-05 Thread Chas Owens
On 05 Jul 2001 13:01:33 -0400, Tim Musson wrote: > perlers, > > I want to split to @Group only if the 3rd element of @Line has data. > It works, but I get an error (Use of uninitialized value in split) > using -w, strict, and diagnostics. Should I be doing this differently? > > I run this with a