in reply to Re: The age old JavaScript WWW::Mech scenario
in thread The age old JavaScript WWW::Mech scenario

UPDATE:...and that something wasn't good.

You're probably just missing the button that needs clicked to send the form:

$mech->submit_form( form_number => 2, fields =>{ sess => "summer", course => $prefix, }, button => 'submit', );

That might work.

Replies are listed 'Best First'.
Re^3: The age old JavaScript WWW::Mech scenario
by whakka (Hermit) on Apr 30, 2009 at 01:29 UTC
    Yep, that's probably more elegant. TMTOWTDI - to each his own :)