The redirect call threw me, i guess cuz it didnt have a text uri or a -uri=> section. So i ran it, and it all became clear. Ill remember that "trick" now.
Then in researching it http://perldoc.perl.org/CGI.html#GENERATING-A-REDIRECTION-HEADER i found "All names arguments recognized by header() are also recognized by redirect(). However, most HTTP headers, including those generated by -cookie and -target, are ignored by the browser.". but mine (firefox51) didnt ignore the -cookie => $cookie part.
In reply to Re^8: Cookie->fetch problem
by huck
in thread Cookie->fetch problem
by tultalk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |