|$ref = CGI::Cookie::XS->parse($raw_cookie)||
Parses $raw_cookie and returns the reference of a hash of arrays. The keys
of the hash are cookie variables names while the values of the hash are lists of cookie variables values.
There is a length limit on the $raw_cookie. If $raw_cookie is longer than 4 KB (i.e. 4 * 1024 bytes, excluding the trailing \0), the overflowing part will be truncated.
|$ref = CGI::Cookie::XS->fetch()||Reads the raw cookie from the HTTP_COOKIE and COOKIE environments (which are usually set by HTTP servers like lighttd or apache) and then parses the value using the parse method and finally returns the results.|
o Removing trailing spaces in cookie values.
For the very latest version of this module, check out the source from the Git repos below:
There is anonymous access to all. If youd like a commit bit, please let us know. :)
There must be some serious bugs lurking somewhere. We havent done comprehensive testing for our code yet. Its a TODO.
Please report bugs or send wish-list to <http://rt.cpan.org/NoAuth/Bugs.html?Dist=CGI-Cookie-XS>.
yuting <yuting at alibaba-inc.com> agentzh <agentzh at yahoo.cn>
Copyright (c) 2008 by Yahoo! China EEEE Works, Alibaba Inc.
Copyright (c) 2009 by Taobao Inc., Alibaba Group.
The MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|perl v5.20.3||CGI::COOKIE::XS (3)||2009-09-02|