Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002172]
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: (5)
As of 2016-10-23 04:17 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.