Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2014-07-30 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (240 votes), past polls