From: Graham Knop Date: Thu, 13 Aug 2020 08:58:57 +0000 (+0200) Subject: clean up pod formatting X-Git-Tag: v0.18~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=commitdiff_plain;h=58b695072bcbcc0346af9406216c19c761326da8;hp=1151945bd505d682e5d8154a7140338c301872d5 clean up pod formatting --- diff --git a/lib/Catalyst/Plugin/Session/State/Cookie.pm b/lib/Catalyst/Plugin/Session/State/Cookie.pm index cb7cfe9..2e7a2a1 100644 --- a/lib/Catalyst/Plugin/Session/State/Cookie.pm +++ b/lib/Catalyst/Plugin/Session/State/Cookie.pm @@ -139,12 +139,9 @@ sub delete_session_id { $c->maybe::next::method($sid); } -__PACKAGE__ - +1; __END__ -=pod - =head1 NAME Catalyst::Plugin::Session::State::Cookie - Maintain session IDs using cookies. @@ -266,20 +263,20 @@ The path of the request url where cookie should be baked. For example, you could stick this in MyApp.pm: - __PACKAGE__->config( 'Plugin::Session' => { - cookie_domain => '.mydomain.com', - }); + __PACKAGE__->config( 'Plugin::Session' => { + cookie_domain => '.mydomain.com', + }); =head1 CAVEATS Sessions have to be created before the first write to be saved. For example: - sub action : Local { - my ( $self, $c ) = @_; - $c->res->write("foo"); - $c->session( ... ); - ... - } + sub action : Local { + my ( $self, $c ) = @_; + $c->res->write("foo"); + $c->session( ... ); + ... + } Will cause a session ID to not be set, because by the time a session is actually created the headers have already been sent to the client. @@ -290,20 +287,26 @@ L, L. =head1 AUTHORS -Yuval Kogman Enothingmuch@woobling.orgE +Yuval Kogman =head1 CONTRIBUTORS This module is derived from L code, and has been heavily modified since. - Andrew Ford - Andy Grundman - Christian Hansen - Marcus Ramberg - Jonathan Rockway Ejrockway@cpan.orgE - Sebastian Riedel - Florian Ragwitz +Andrew Ford + +Andy Grundman + +Christian Hansen + +Marcus Ramberg + +Jonathan Rockway + +Sebastian Riedel + +Florian Ragwitz =head1 COPYRIGHT @@ -317,5 +320,3 @@ This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. =cut - -1;