LMAO, just look at your "inline syntax". You've proven yourself why you should use CGI. 'expires=+1d' is not a valid cookie expiration. When you pass '+1d' as an expiration date/time to cookie(), a valid date format is created out of that. Not to mention your inline style doesn't output a 'Date' header to accommodate for timezone differences... So yes, use CGI (or one of its equivalents such as CGI::Simple).
In reply to Re: When to use modules?
by Anonymous Monk
in thread When to use modules?
by wolfi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |