1HTTP::Cookies::MicrosofUts(e3r)Contributed Perl DocumentHaTtTiPo:n:Cookies::Microsoft(3)
2
3
4
6 HTTP::Cookies::Microsoft - access to Microsoft cookies files
7
9 use LWP;
10 use HTTP::Cookies::Microsoft;
11 use Win32::TieRegistry(Delimiter => "/");
12 my $cookies_dir = $Registry->
13 {"CUser/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders/Cookies"};
14
15 $cookie_jar = HTTP::Cookies::Microsoft->new(
16 file => "$cookies_dir\\index.dat",
17 'delayload' => 1,
18 );
19 my $browser = LWP::UserAgent->new;
20 $browser->cookie_jar( $cookie_jar );
21
23 This is a subclass of "HTTP::Cookies" which loads Microsoft Internet
24 Explorer 5.x and 6.x for Windows (MSIE) cookie files.
25
26 See the documentation for HTTP::Cookies.
27
29 The following methods are provided:
30
31 $cookie_jar = HTTP::Cookies::Microsoft->new;
32 The constructor takes hash style parameters. In addition to the
33 regular HTTP::Cookies parameters, HTTP::Cookies::Microsoft
34 recognizes the following:
35
36 delayload: delay loading of cookie data until a request
37 is actually made. This results in faster
38 runtime unless you use most of the cookies
39 since only the domain's cookie data
40 is loaded on demand.
41
43 Please note that the code DOESN'T support saving to the MSIE cookie
44 file format.
45
47 Johnny Lee <typo_pl@hotmail.com>
48
50 Copyright 2002 Johnny Lee
51
52 This library is free software; you can redistribute it and/or modify it
53 under the same terms as Perl itself.
54
55
56
57perl v5.16.3 2012-02-15 HTTP::Cookies::Microsoft(3)