in reply to Explanation of successful mechanize code

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: Explanation of successful mechanize code

Replies are listed 'Best First'.
Re^2: Explanation of successful mechanize code
by Den (Initiate) on Aug 03, 2007 at 16:45 UTC
    Are you saying I'm imagining that it works?
    # for debugging #my $outfile = "out.htm"; #my $output_page = $mech->content(); #open(OUTFILE, ">$outfile"); #print OUTFILE "$output_page"; # end debug
    I save the content into a file. And I examine the file and sure enough I get the page after the login page. So the form is POSTing.