in reply to Re: Re: CGI::cookie query
in thread CGI::cookie query

what is the programs output?

you can determine this by running it from a command line, CGI.pm will prompt you for some input variables (you can also pass them on the command line), like so: (line 1 is executing the script, 2 is the script prompting me for input, 3 is my input. between lines 3 and 4 I hit Ctrl-D, lines 4-7 is the output. in this case 2 cookies.

1 xdev$ perl cook.pl 2 (offline mode: enter name=value pairs on standard input) 3 foo=bar 4 Set-Cookie: ID=123456 5 Set-Cookie: preferences=size&12&font&Helvetica 6 Date: Tue, 03 Apr 2001 21:01:04 GMT 7 Content-Type: text/html xdev$

note the code executed above is the same code posted in the previous node