Squatting::With::Mount - mount Squatting apps at arbitrary paths
use App 'With::Mount'; App->mount('/forum' => 'Ground'); App->init;
This adds a mount method to your Squatting application that lets you mount other Squatting applications at arbitrary paths within your application.
mount
Squatting used to provide a mount() method by default, but I discovered after the fact that the implementation was flawed. To do it correctly would require that I write a lot more code, so I decided to move the mount method out of the core and into a plugin called Squatting::With::Mount.
mount()
To install Squatting, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Squatting
CPAN shell
perl -MCPAN -e shell install Squatting
For more information on module installation, please visit the detailed CPAN module installation guide.