Subject: | small bug in find_in_html (patch attached) |
Using Feed::Find 0.6
Checked install through CPAN and tarball from the cpan.org
Perl v5.8.6
In find_in_html, there is a typo. The html content is accessed as $$html
instead of $html. Tiny patch attached.
Thanks,
-Ross
Subject: | Feed-Find.patch |
Index: lib/Feed/Find.pm
===================================================================
--- lib/Feed/Find.pm (revision 5)
+++ lib/Feed/Find.pm (revision 6)
@@ -53,7 +53,7 @@
start_h => [ \&_find_links, 'self,tagname,attr' ]);
$p->{base_uri} = $base_uri;
$p->{feeds} = [];
- $p->parse($$html);
+ $p->parse($html);
@{ $p->{feeds} };
}