On Tue, 2004-08-10 at 15:01, Tim McGeary wrote: > I have a file of data that I want to safety check to ensure that there > is data for each piece of the line being split. Is there a fast way to > say "If any of these are '' then write to error log"?
Let's say you have your line split in @line
if (grep /^$/, @line) {
# then one of them is null
}
> Thanks,
> Tim
HTH,
jac
> --
> Tim McGeary
> Senior Library Systems Specialist
> Lehigh University
> 610-758-4998
> [EMAIL PROTECTED]
--
Jos� Alves de Castro <[EMAIL PROTECTED]>
http://natura.di.uminho.pt/~jac
signature.asc
Description: This is a digitally signed message part
