Subject: | parse method cannot take scalar refference |
HTML::RSSAutodiscovery document say parse method take a URI or
an HTML string, passed as a scalar reference as argument.
But parse method cannot take an HTML string scalar reference.
One of the simple solution for this probrem is here:
from HTML::RSSAutodiscovery
Show quoted text
> sub parse {
> my $self = shift;
> my $uri = shift;
>
> my $data = undef;
>
> if (ref($data) ne "SCALAR") {
To replace "my $data = undef;" to "my $data = $uri;",
it works.
Thank you.
Kato, Atsushi