Hi,
Just for extra information, I am interested in understanding how the
if (grep length == 0, @arrayname) works.
Or perhaps I could be pointed to some documentation ie perldoc where i
could find out more about is it the length function? works.

thanks,
radhika


>   while (<INPUT>) {
>     chomp;
>     my %record;
>     @[EMAIL PROTECTED] = split /,/;
>     if (my @empty = grep length $record{$_} == 0, @field_names) {
>       empty_fields(@empty);
>     }
>     else {
>       # process record
>     }
>   }


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to