Plasp::State - Role for initializing State objects: $Session and $Application
package Plasp; use Moo; with 'Plasp::State' sub method { my $session = shift->Session; }
This role is mainly consumed by the Plasp class in order to instantiate State objects in the ASP object.
A string referencing the class to use to instatiate a new $Application object. Defaults to 'Plasp::Application'.
'Plasp::Application'
A hash reference to pass into the constructor of the Application class. Defaults to an empty hash reference.
A reference to the actual $Application global object. Defaults to Plasp::Application->new.
Plasp::Application->new
A string referencing the class to use to instatiate a new $Application object. Defaults to 'Plasp::Session'.
'Plasp::Session'
A reference to the actual $Session global object. Defaults to Plasp::Session->new.
Plasp::Session->new
Plasp
Plasp::Session
Plasp::Application
To install Plasp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plasp
CPAN shell
perl -MCPAN -e shell install Plasp
For more information on module installation, please visit the detailed CPAN module installation guide.