Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Usenet and arrays

by dakkar (Hermit)
on Mar 25, 2003 at 14:31 UTC ( #245693=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://245693]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2022-05-25 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (90 votes). Check out past polls.

    Notices?