Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Reading a cookie from an active browser session

by xorl (Deacon)
on Nov 20, 2013 at 15:55 UTC ( [id://1063548]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use Data::Dumper;
    ...
    my $document = $repl->expr('document');
    
    print $document->{title};
    
  2. or download this
    my $cookie_jar = HTTP::Cookies::MozRepl->new(
                                                repl => $repl
    ...
    my @cookies = $cookie_jar->extract_cookies();
    
    print Dumper \@cookies;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1063548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found