Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Negate link search in Mechanize

by Anonymous Monk
on Nov 02, 2011 at 13:34 UTC ( #935397=note: print w/ replies, xml ) Need Help??


in reply to Negate link search in Mechanize

my @links = $mech->find_all_links(url_regex => qr/^(?!.*foo)/);


Comment on Re: Negate link search in Mechanize
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-07-07 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls