Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Comparing the first element of an array with an array

by Zed_Lopez (Chaplain)
on Jul 28, 2005 at 17:37 UTC ( #479058=note: print w/replies, xml ) Need Help??


in reply to Comparing the first element of an array with an array

use List::Util qw(first); $links0_in_visited_urls = first { $_ eq $links[0] } @visited_urls

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2023-05-31 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?