NaruhitoHORi
anaho****@users*****
2005年 8月 13日 (土) 21:43:35 JST
Index: docs/modules/mod_perl-1.29_related/Apache-FakeCookie-0.07.pod diff -u /dev/null docs/modules/mod_perl-1.29_related/Apache-FakeCookie-0.07.pod:1.1 --- /dev/null Sat Aug 13 21:43:35 2005 +++ docs/modules/mod_perl-1.29_related/Apache-FakeCookie-0.07.pod Sat Aug 13 21:43:35 2005 @@ -0,0 +1,138 @@ +=head1 åå + + Apache::FakeCookie - ãããã°ã§ä½¿ããã§ã¤ã¯ãªã¯ã¨ã¹ããªãã¸ã§ã¯ã + +=head1 SYNOPSIS + + use Apache::FakeCookie; + + ããã¯ãApache::FakeCookie ã Apache::Cookie åå空éã®ä¸ã¸ãã¼ãããï¼è¨³è è£å®ï¼Apache::Cookie ããã§ã¤ã¯ã¯ããã¼ Apache::FakeCookie ã§ä¸æ¸ãããï¼ + +=head1 説æ + +ãã®ã¢ã¸ã¥ã¼ã«ã¯ Apaceh::* ã¢ã¸ã¥ã¼ã«ã®ä½è ãä¸é£ã®æ¸ãè¾¼ã¿ãã¹ãããã°ã©ã ãæ¸ãã®æå©ãããã¦ããã¾ãããã®ã¢ã¸ã¥ã¼ã«ã使ãã°ãã¯ããã¼ã¡ã½ããããã¹ãããç®çã§å®éã«ãµã¼ãã¼ãèµ°ããããã¯ã¨ãªã¼ãçºè¡ãããã¨ãªã B<Apache::Cookie> ã使ç¨ãããã¨ãã§ããããã«ãªãã¾ãããã¹ãã¹ã¯ãªããã®ä¸ã§ãããªãã®Apache ã¢ã¸ã¥ã¼ã«ããã¼ãããå¾ã« B<Apache::FakeCookie> ããã¼ããã¾ãã + +ãã®ã¢ã¸ã¥ã¼ã«ã®å©ç¨æ³ã¯ãB<Apache::Cookie> ã¨åãã§ãã + +=head1 ã¡ã½ãã群 + +Apache::Cookie ã®ã¡ã½ããå ¨ã¦ãå®è¡ã§ãã + +詳ããå©ç¨æ¹æ³ã¯ã Apache::Cookie manãã¼ã¸ãåç §ã + +=over 4 + +=item remove -- ï¼è¨³è è£å®ï¼Apache::Cookie ã«ã¯ç¡ãï¼æ°è¦ã¡ã½ãã + +ååä»ãã¯ããã¼ãã¾ãã¯ãã¤ã³ã¿ã§æã示ããããã¯ããã¼ãæ¶å»ããã + + $cookie->remove; + + Apache::Cookie->remove('name required'); + + $cookie->remove('some name'); + ãã¹ãç®çã§ä½¿ç¨ã次ã¨åãï¼ + $cookie = Apache::Cookie->new($r, + -name => 'some name', + ); + $cookie->bake; + +=item new + + $cookie = Apache::Cookie->new($r, + -name => 'some name', + -value => 'my value', + -expires => 'time or relative time, + -path => 'some path', + -domain => 'some.domain', + -secure => 1, + ); + +B<Apache> ãªã¯ã¨ã¹ãããããã B<$r> ãã¯ããã§ã¯ä½¿ç¨ããªããããããã undef ã§ãããã + +=item bake + + ã¯ããã¼ã¯ãã¼ã«ã«ã¡ã¢ãªã«ä¿åãããã + + $cookie->bake; + +=item fetch + + ãã¼ã«ã«ã¡ã¢ãªããã¯ããã¼ã®å¤ãè¿ãããã + + $cookies = Apache::Cookie->fetch; # ããã·ã¥ãªãã¡ã¬ã³ã¹ + %cookies = Apache::Cookie->fetch; + +=item as_string + + ã¯ããã¼ãªãã¸ã§ã¯ããæååã¨ãã¦ãã©ã¼ãããããã + ããã¯ã Apache::Cookie ãªãã¸ã§ã¯ãã¨åãã + +=item parse + + ã¯ããã¼æååãåå¨ããªããªãã°ãfetchã¨åãåä½ãããã + + $cookies = Apache::Cookie->fetch(raw cookie string); + %cookies = Apache::Cookie->fetch(raw cookie string) + + ã¯ããã¼ã¡ã¢ãªã¼ã¯æ¶å»ããã¦ã"raw cookie string"ã + ãã¼ã¹ããå 容ã§ç½®ãæããã + +=item name, value, domain, path, secure + + æå®ããã¯ããã¼ã®å¤ãåå¾ã¾ãã¯è¨å®ããã + ãã¹ããç®çãªããããå¤ã¯åãªãæååã ãã + âvalue" 㯠è¤æ°ã®ã¹ã«ã©ã¼ãããã·ã¥ã®ãªãã¡ã¬ã³ã¹ã + é åã®ãªãã¡ã¬ã³ã¹ãåãåããã¨ãåºæ¥ãã + +=item expires + + Apache::CookieãCGI::Cookie ã¨åããã©ã¼ãããã® + æå¹æé (expires) ãåå¾ã»è¨å®ããã + 詳ããã¯ãããã® man ãã¼ã¸ãåç §ã + +=back + +=head1 SEE ALSO + +Apache::Cookie(3) + +=head1 AUTHORS + +Michael Robinton micha****@bizsy***** +Inspiration and code for subs (expires, expires_calc, parse) +from CGI::Util by Lincoln Stein + +=head1 COPYRIGHT and LICENSE + + Copyright 2003 Michael Robinton, BizSystems. + +This module is free software; you can redistribute it and/or modify it +under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later version, + + or + + b) the "Artistic License" which comes with this module. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either +the GNU General Public License or the Artistic License for more details. + +You should have received a copy of the Artistic License with this +module, in the file ARTISTIC. If not, I'll be glad to provide one. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +=head1 Translator into Japanese (訳è ) + +anahori (at users.sourceforge.jp) + +Japanized Perl Resources Project (L<http://sourceforge.jp/projects/perldocjp/>) + +=cut \ No newline at end of file