HTTP::WebTest::Cookies - Cookie storage and management
use HTTP::WebTest::Cookies; $cookie_jar = HTTP::WebTest::Cookies->new; $cookie_jar->accept_cookies($bool); $cookie_jar->send_cookies($bool); $cookie_jar->add_cookie_header($request); $cookie_jar->extract_cookies($response);
Subclass of HTTP::Cookies which enables optional transmission and receipt of cookies.
Enables or disables receipt of cookies if boolean parameter $optional_accept_cookies is passed.
$optional_accept_cookies
True if receipt of cookies is enabled; false otherwise.
Enables or disables transmission of cookies if boolean parameter $optional_send_cookies is passed.
$optional_send_cookies
True if transmission of cookies is enabled; false otherwise.
Overloaded method. Passes all arguments to SUPER::extract_cookies if receipt of cookies is enabled. Does nothing otherwise.
SUPER::extract_cookies
Overloaded method. Passes all arguments to SUPER::add_cookie_header if transmission of cookies is enabled. Does nothing otherwise.
SUPER::add_cookie_header
Copyright (c) 2000-2001 Richard Anderson. All rights reserved.
Copyright (c) 2001,2002 Ilya Martynov. All rights reserved.
This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License.
HTTP::WebTest
HTTP::WebTest::API
HTTP::Cookies
To install HTTP::WebTest, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::WebTest
CPAN shell
perl -MCPAN -e shell install HTTP::WebTest
For more information on module installation, please visit the detailed CPAN module installation guide.