Don't know Net::NNTPClient, but...
The first two snippets are equivalent (the second one may occupy more memory since it build an array of the msgids)
In the third one, you are saying: for each number between $first and $last, if that number is undef or the empty string...
Since no number passes the test, @messages will not be altered (assuming that that @testlist should be @messages)
--
dakkar - Mobilis in mobile
In reply to Re: Usenet and arrays
by dakkar
in thread Usenet and arrays
by ergowolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |