Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 8009
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Undocumented behavior of cookie() function with no arguments
The documentation for CGI.pm doesn't specify the behavior of the cookie() function when called with no arguments. According to a comment in the code, cookie() follows the following rule: "# If no name is supplied, then retrieve the names of all our cookies." A sentence to this effect should be added to the documentation; its omission was surely unintentional.
I have reviewed the 3.43 release found that this recommendation is reflected there. Thanks for the suggestion! I believe this bug report can be considered resolved now. On Wed Oct 13 19:09:39 2004, guest wrote: Show quoted text
> The documentation for CGI.pm doesn't specify the behavior of the > cookie() function when called with no arguments. According to a > comment in the > code, cookie() follows the following rule: "# If no name is supplied, > then retrieve the names of all our cookies." A sentence to this effect > should > be added to the documentation; its omission was surely unintentional.