Ken Slater writes: > Your logic is backwards. You are testing for at least one destination with > no from_addresses.
First, thank you. This actually gets more strange. I took out the && and left only a statement that tests: die("***YOU MUST HAVE A DESTINATION ADDRESS/NETWORK address.\n") if (@destinations); This is not useful in the long run but it lets me test the if (@destinations); portion of the test. If @destinations, then I should die. Truth is it succeeds whether @destinations has any strings or not. I could use $destinations[0] to test for destinations since there is no reason why $destinations[0] would ever be nulled out in this case. A lack of a string there means that none were ever entered. I thought that one could test for an empty or undefined array against the @arrayname but it looks like doing that always succeeds if it is set with my or our @arrayname. Martin -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/