On 11 Oct, 16:20, [EMAIL PROTECTED] (Paul Lalli) wrote: > On Oct 11, 8:35 am, [EMAIL PROTECTED] > > ([EMAIL PROTECTED]) wrote: > > Hi, I've been playing around with the following script as I would like > > to access data on a website that I need to log into first. > > > As you can see I'm attempting to login into the main page and then > > check the contents of the same page for a particular piece of data > > ("Your Home" in this example). > > > It seems that the servers webpages are generated in PHP so I'm not > > sure if this is causing the issue? > > Causing *what* issue?! You haven't said what's wrong with your script > at all. You've not said what it does that you don't want it to do, or > what it does do that you don't want it to. > > What language is generated by the website in question is wholly > irrelevant. WWW::Mechanize is just a browser. It cares no more about > how the pages were generated than Internet Explorer or Firefox do. > > Paul Lalli
Paul, sorry the issue is that it doesn't work :) 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(); Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/