NAME

WWW::BookBot::FakeCookies - Fake HTTP::Cookies to skip local file access.

SYNOPSIS

use WWW::BookBot::FakeCookies;

ABSTRACT

Fake HTTP::Cookies to skip local file access.

DESCRIPTION

HTTP::Cookies will die when fetching local files with LWP. The reason is that HTTP::Cookies want to access $url->port which does not exist.

WWW::BookBot::FakeCookies check $url->port before call HTTP::Cookies. If $url->port is unavailable, WWW::BookBot::FakeCookies will return without calling HTTP::Cookies.

EXPORT

None by default.

BUGS, REQUESTS, COMMENTS

Please report any requests, suggestions or bugs via http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-BookBot

AUTHOR

Qing-Jie Zhou <qjzhou@hotmail.com>

SEE ALSO

WWW::BookBot