http://qs321.pair.com?node_id=245693


in reply to Usenet and arrays

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