On Oct 11, 3:31 pm, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > On 11 Oct, 16:20, [EMAIL PROTECTED] (Paul Lalli) wrote: > Paul, sorry the issue is that it doesn't work :)
That's a phenomenally bad error description. Only *you* know what you want your script to do. None of us have any way of knowing what it is you want to happen. > When I run the script it finishes without error but during a debug run > (I use an IDE) I check the 'content' string within $mech and I can see > that the html data held within this string stays the same after I > attempt to login and send the $mech->submit(); Well... yeah. Of course it is. Why wouldn't it be? You're not accessing the content of the page returned from the submit. You just went and performed another get() on the same URL again. Why would that have changed? You need to get the most recent content from the $mech user agent. That is: my $content = $mech->content(); rather than my $content = get $url; To put it more simply, you did something like this: my $x = 5; my $y = fctn($x); $x = 5; and then were shocked when $x equaled five. It's $y that you did something to. You should probably read up on WWW::Mechanize. http://search.cpan.org/~petdance/WWW-Mechanize-1.30/lib/WWW/Mechanize.pm#CONTENT-HANDLING_METHODS Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/