Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: as_stringChapter 17
The LWP Library
Next: Reference: extract_cookies


 $cjar->clear( [domain, [path, [key] ] ])

Without arguments, this method clears the entire contents of the cookie jar. Given arguments, cookies belonging to a specific domain, path, or with a name, key, will be cleared. The arguments are ordered for increasing specificity. If only one argument is given, all cookies for that domain will be deleted. A second argument specifies a distinct path within the domain. To remove a cookie by keyname, you must use all three arguments.

Previous: Reference: as_stringPerl in a NutshellNext: Reference: extract_cookies
Reference: as_stringBook IndexReference: extract_cookies