I don't see why you're passing a reference in... but you can season this one to taste.use URI; sub blahify { my $relative = shift; my $base = shift; URI->new_abs($relative, $base)->as_string; }
-- Randal L. Schwartz, Perl hacker
In reply to Re: adding hostnames to absolute links
by merlyn
in thread adding hostnames to absolute links
by zodiac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |