are there any CPAN modules which allow you to create a time from a string using the formats that CGI.pm recognizes:
I've created a session class (which wraps Apache::Session) for a web app and want to be able to do something like $session->store(login => 1, expires => '+10m') (I know that CGI::Session can do this - it was my 1st choice - but I can't use that module as it does not work on Win98 )+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
In reply to How to create CGI.pm like time strings? by Arunbear
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |