Subject: | Change in format of returned URIs |
As of version 20090316, URIs in HTML are now including ahref=" in the
output:
use lib '/tmp/URI-Find-20090316/lib';
use URI::Find;
$x = 'I like <a href="http://www.boston.com">boston.com</a>';
URI::Find->new(sub { print "$_[0]" })->find(\$x)
ahref=%22http://www.boston.com
This was not a problem in previous versions:
use lib '/tmp/URI-Find-0.16/lib';
use URI::Find;
$x = 'I like <a href="http://www.boston.com">boston.com</a>';
URI::Find->new(sub { print "$_[0]" })->find(\$x)
http://www.boston.com/
I didn't see mention of any seemingly relevant changes in the Changes
file for version 20090316 (I haven't had the time to look through the
code yet), and I didn't notice any change to the documented interface in
the POD.