Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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.

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?
[sierpinski]: Corion I haven't -- but it sounds like you could corner the market on such a tool if you desired.
Discipulus if thezip is still around can be interested into How to hide/inhibit the console window when launching a Perl script on Windows?

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2017-03-27 19:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (321 votes). Check out past polls.