Plasp::Application - Default class for $Application objects
package MyApp; use Moo; sub BUILD { my ( $self, @args ) = @_; $self->Application; };
Like the $Session object, you may use the $Application object to store data across the entire life of the application.
$Session
$Application
A Plasp::Application composes the Plasp::State::Application role, which implements the API a $Application object. Please refer to Plasp::State::Application for the $Application API.
Plasp::Application is simply stored in memory. Whatever is stored here will last as long as the application runs. This will depend on the server implementation and how it manages its processes.
Plasp::State
Plasp::State::Application
Plasp::State::Session
Plasp::Session
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.