I'm doing an application with CGI, CGI::Application and HTML::Template and need to set some cookies.
The only method i can get to set the cookie is: print q->header(-cookie=>$cookie)While this works, it also prints up on the screen the Content Type stuff ( Content-Type: text/html; charset=ISO-8859-1 ) i'd prefer it not to display. After reading the documentation it mentions i need to muck around with the HTML header, but for the life of me I cant work it out.
If someone could give me an example, or point me to some more verbose documentation, i'd gladly appreciate it.
In reply to HTML::Template and setting Cookies by Ryszard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |