On Sat, Jan 31, 2015 at 3:58 PM, Harry Putnam wrote:
> [snip...]
I have about 100 lines or so inside a File::Find:
>
> find (
> sub {
> }, $tdir;
>);
> [snip...]
> which looks like this ... snipped:
>
> [...]
>
> }<== incloses an if cla
I've given myself a headache googling on how to debug a perl script
that does not run.
Maybe `debug' is the wrong word... I'd love to know if there is a more
accurage one.
I realize this post is quite a lot of yak, but hoping someone can lay
out a few steps that will narrow down the problem.
Man
Before calling $mech->submit_form it might be helpful to do things like:
$mech->dump_text;
$mech->dump_forms;
$mech->dump_headers;
to see whether $mech really is getting the page you think it is.
Andrew
On Sat, Jan 31, 2015 at 2:04 PM, Mike wrote:
> Hey everyone, I'm trying to submit a form wi
Hey everyone, I'm trying to submit a form with WWW::Mechanize to post a
new thread on a forum from the command line. The forum also requires an
image to be uploaded with it. Anyway...here is my snippet:
$mech->submit_form(
form_name => 'post',
fields => { bo