Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Pushing unique items onto an array

by DrManhattan (Chaplain)
on May 30, 2003 at 17:09 UTC ( [id://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 sharing their wisdom with the Monastery: (3)
As of 2024-04-19 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found