> die("***YOU MUST HAVE A DESTINATION ADDRESS/NETWORK address.\n")
> if (@destinations);

Don't you mean 'if !@destinations' or 'unless @destinations' here?
That test is for whether @destinations has any entries.

% perl -E 'my @x=(); say "lives" if (@x)'

%  perl -E 'my @x=(1); say "dies" if (@x)'
dies

j.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to