Parsing HTML with a regex is a good way either to become the next Buddha or to lose your hair prematurely. It is very difficult to handle all but the most trivial HTML correctly.
Retrieving the web page is also very simple, if you use LWP::Simple.
Each of these modules comes with prodigious documentation, and your examples are simple enough that the given examples will work with only slight modifications.
In reply to Re: So Simple, Yet no tutorial covers it
by chromatic
in thread So Simple, Yet no tutorial covers it
by Jrchak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |