Mechanize - redirect problem

2005-02-22 Thread Martin Kos
hi as i've seen that this list is used for mechanize questions too i'll try my question... i try to login to the page http://mymobile.sunrise.ch/ but it seems like mechanize is not doing the redirect that is on the start site... if i try with my browser or wget i get redirect to a page like

Return HTML (not text) between tags with HTML::Parser?

2005-02-22 Thread Maqo
Is it possible to use HTML::TokeParser to return the raw HTML between two start tags (from A to A, not A to /A), as opposed to just the text? My source file contains several blocks of code--containing anchor links for each--that I'm trying to extract by section while maintaining formatting.