Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Perl mechanize get Error!

by Anonymous Monk
on Jan 04, 2014 at 08:26 UTC ( #1069250=note: print w/replies, xml ) Need Help??

in reply to Re: Perl mechanize get Error!
in thread Perl mechanize get Error!

Hi PerlSufi, You are great. Ok, Can you check this, and give us a solution? Take it as a challenge. ;) Best Anonymous Monk

Replies are listed 'Best First'.
Re^3: Perl mechanize get Error!
by PerlSufi (Friar) on Jan 06, 2014 at 15:04 UTC
    I'm not really sure what the 'challenge' is? Do you want to be able to submit that form?
    use strict; use warnings; use WWW::Mechanize; #takes what vacancy to search as first argument on command line my $mech = WWW::Mechanize->new(); $mech->get(" +ancy.aspx?EmploymentTypeID=0&Intranet=0"); my $vacancy = $ARGV[0]; $mech->field( "ctl00$mvMintPP$ctl00$ContentPlaceHolder_Main$mvMintPP$ctl00$txbJobRef +", $vacancy); #(^^without plus sign occuring copied over) $mech->click_button(value => "Search Vacancies"); $mech->dump_text;
    ..might work..

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1069250]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-08-22 12:22 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (335 votes). Check out past polls.