http://search.cpan.org/perldoc?CGI::Cookie
そりゃそうか
use CGI::Cookie; my %cookies = CGI::Cookie->parse($ENV{HTTP_COOKIE}); my $c_val = $cookies{c_atri}->value;
- expires は、-1d や +3M を指定できますが、詳しくはCGI.pmのドキュメントをご覧下さい。
- 30s 30 seconds from now
- 10m ten minutes from now
- 1h one hour from now
- 1d yesterday (i.e. "ASAP!")
now immediately
- 3M in three months
- 10y in ten years time
Thursday, 25-Apr-1999 00:40:33 GMT at the indicated time & date
http://search.cpan.org/perldoc?CGI