NAME
Plasp::Application - Default class for $Application objects
SYNOPSIS
package MyApp;
use Moo;
sub BUILD {
my ( $self, @args ) = @_;
$self->Application;
};
DESCRIPTION
Like the $Session
object, you may use the $Application
object to store data across the entire life of the 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.