diff options
-rw-r--r-- | Plugin/URL_Title.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Plugin/URL_Title.pm b/Plugin/URL_Title.pm index 14b963d..d787d90 100644 --- a/Plugin/URL_Title.pm +++ b/Plugin/URL_Title.pm @@ -88,7 +88,9 @@ sub get_title my $html = $response->{content}; - $title = ""; + $charset = undef; + $content_type = undef; + $title = undef; my $p = HTML::Parser->new(api_version => 3); $p->handler( start => \&start_handler, "tagname,attr,self" ); $p->parse($html); |