hello all,
Allow me to share my latest problem to leave me scatterbrained, the code, if you would study:
#!/usr/bin/perl -w use strict; use CGI qw(:standard); use CGI::Cookie; my $q = new CGI; my $cookie = $q->cookie(-name => "thename", -value => "thevalue", -Path => "thepath"); my $cookie2 = new CGI::Cookie(-name => "thename2", -value => "thevalue2", -Path => "thepath2"); print $q->header; print $cookie; print $q->br; print $cookie2;
Fairly straightforward. When I run this via BBedit or via a terminal on my local mac, I receive this:
Content-Type: text/html thename=thevalue; path=thepath
thename2=thevalue2; path=thepath2
Which is exactly what I think should be given back ( strokes long, waxed mustache)
Although, when I access this code in a browser via the same CGI script , I receive the following:
=-name; domain=-value; path=thename; expires=-path; secure
=-name; domain=-value; path=thename2; expires=-Path; secure
Wild, eh?
I'm running the stock Perl on mi mac, with version 2.56 of CGI/pm and version 1.12 of CGI::Cookie.
The offensive server is running version 2.752 of CGI.pm and version 1.12 of CGI::Cookie.
I haven't found the CHANGES or BUGS file associated with these modules, because I believe they're both bundled with Perl itself.
Anyone have a clue?
One real chocolate chip cookie to anyone that thinks they have a scan salt of an idea
-justin simoni
!skazat!
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |