Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: WWW::Mechanize::Firefox Navigate Issue !

by aitap (Deacon)
on Nov 04, 2012 at 08:10 UTC ( #1002172=note: print w/ replies, xml ) Need Help??


in reply to WWW::Mechanize::Firefox Navigate Issue !

You need an interpolating quote operator:

my $find_button = $mech->xpath(qq{//*[\@id="$Pager"]}, single => 1 );
Edit: forgot to escape "@"
Sorry if my advice was wrong.


Comment on Re: WWW::Mechanize::Firefox Navigate Issue !
Download Code
Re^2: WWW::Mechanize::Firefox Navigate Issue !
by Anonymous Monk on Nov 05, 2012 at 08:54 UTC
    *cough*  Possible unintended interpolation of @id in string at - line 1.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2015-07-04 06:12 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 (57 votes), past polls