What happens if the "href" attribute isn't the first attribute of the "a" tag?
Parsing HTML with regexes is a bad idea, use the right tools for the job (in this case probably HTML::LinkExtor and URI).
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Re: Changing from relative to absolute path
by davorg
in thread Changing from relative to absolute path
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |