Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Plack::Session::CleanuUser Contributed Perl DocumentPlack::Session::Cleanup(3)

NAME
       Plack::Session::Cleanup - Run code when the environment is destroyed

SYNOPSIS
	 $env->{'run_at_cleanup'} = Plack::Session::Cleanup->new(
	     sub {
		 # ...
	     }
	 );

DESCRIPTION
       This provides a way for Plack::Middleware::Session to run code when the
       environment is cleaned up.

METHODS
       new ( $coderef )
	   Executes the	given code reference when the object is	"DESTROY"'d.
	   Care	should be taken	that the given code reference does not close
	   over	$env, creating a cycle and preventing the $env from being
	   destroyed.

perl v5.24.1			  2015-03-02	    Plack::Session::Cleanup(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plack::Session::Cleanup&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help