WWW::Tracking::Data::Plugin::Headers - create WWW::Tracking::Data object from http headers
WWW::Tracking::Data
my $wt = WWW::Tracking->new->from( 'headers' => { 'headers' => $req->headers, 'request_uri' => $req->uri, 'remote_ip' => $req->address, 'visitor_cookie_name' => '__vcid', }, );
Parses http headers and generate WWW::Tracking::Data object from it.
To install WWW::Tracking, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Tracking
CPAN shell
perl -MCPAN -e shell install WWW::Tracking
For more information on module installation, please visit the detailed CPAN module installation guide.