You're assigning to the wrong variable. Change
foreach (@links) { $uri = URI->new_abs( $_, $base_url ) }
to
foreach (@links) { $_ = URI->new_abs( $_, $base_url ) }</p
In reply to Re: Turn relative url's to absolute with URI
by ikegami
in thread Turn relative url's to absolute with URI
by lampros21_7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |