RE: Using 'IF EXISTS'

2003-02-07 Thread Dan Muey
> The English of what I want to do is "If this remote value is > not defined, then skip over it and proceed on to the next > entry in the list." > > > > I want to avoid an error is the key doesn't exist. Every > variation of IF EXISTS I use doesn't work correctly. Is there > something obvio

Re: Using 'IF EXISTS'

2003-02-07 Thread Janek Schleicher
On Fri, 07 Feb 2003 00:13:47 -0800, Paul Harwood wrote: > The English of what I want to do is "If this remote value is not > defined, then skip over it and proceed on to the next entry in the > list." The canonical ways to do it are either foreach my $item (@list) { next unless defined $item