Code Snippets?
Benjamin M. Hill (Benjamin.M.Hill@dartmouth.edu)
20 Aug 97 18:14:50 EDT
I didn't see it browsing around the doccumentation, but if I just missed it, a
RTFM would be great, with a pointer as to which FM I should be Ring. :)
Just as an exercise, I created my own very simple html-walker bot. Simple
Depth-First search algo.
It uses "get" and a lot of pattern matching to do the recursion itself, no
html:parse.
Does anyone have some code snippets for the concatinating of relative URLs vs
absolute URLs?
The bot is stumbling along the links, and runs into something like "<a href =
"../index.html">--</a> and chokes on the ../ part.
Anyone have some easier-to-understand code that I could learn off of? I'm just
a beginner at perl.
Thanks for your time.
-Benjamin