Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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
Replies are listed 'Best First'.
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 having an uproarious good time at the Monastery: (3)
As of 2016-05-01 00:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.