Keep It Simple, Stupid | |
PerlMonks |
Re: Counting links in a file?by Amoe (Friar) |
on Mar 24, 2002 at 19:47 UTC ( [id://153928]=note: print w/replies, xml ) | Need Help?? |
If it's only a really short hack, and the page doesn't contain the strings "http://" or "ftp://" outside of anchor tags, that'll be fine. For a slightly more sophisticated method, you can use the old mainstay HTML::TokeParser.
And if you ever want to do anything more complicated, which you probably will eventually, you have crazyinsomniac's superb tutorial to guide you. -- my one true love
In Section
Seekers of Perl Wisdom
|
|