Created
February 28, 2013 18:36
-
-
Save anazawa/5058995 to your computer and use it in GitHub Desktop.
amazing behaviour of CGI::Header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use CGI::Header; | |
| my $h = CGI::Header->new; | |
| $h->expires('now'); | |
| warn $h->get('Expires'); # => "Thu, 28 Feb 2013 18:34:22 GMT" | |
| sleep 5; | |
| warn $h->get('Expires'); # => "Thu, 28 Feb 2013 18:34:27 GMT" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment