Actually you don't really want to do it that way. You do want to use something like WWW::Mechanize::FormFiller off CPAN which fills in forms and submits them for you. Ready to go at a CPAN mirror near you. You will also need to read the docs for WWW::Mechanize base class to see how you submit the result of the form you filled in with the FormFiller subclass. A few dozen lines of code then take the rest of the week off! Gotta love CPAN
Modifying HTML with regexes is always a fragile solution. You need to use HTML::Parser if you want relaible parsing but as noted above all the hard work has been done for you already.....
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Pattern Matching and replacement
by tachyon
in thread Pattern Matching and replacement
by Feral_Shade
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |