Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Pushing unique items onto an array

by DrManhattan (Chaplain)
on May 30, 2003 at 17:09 UTC ( #261893=note: print w/replies, xml ) Need Help??


in reply to Pushing unique items onto an array

Use a hash instead of an array to store your links. E.g.
$links{'http://www.slashdot.org'} = 1;
Then just use keys %links to get the list back.

-Matt

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2023-12-02 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (13 votes). Check out past polls.

    Notices?