John Beppu > Squatting-0.83 > Squatting::With::Mount

Download:
Squatting-0.83.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Squatting::With::Mount - mount Squatting apps at arbitrary paths

SYNOPSIS ^

  use App 'With::Mount';
  App->mount('/forum' => 'Ground');
  App->init;

DESCRIPTION ^

This adds a mount method to your Squatting application that lets you mount other Squatting applications at arbitrary paths within your application.

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.

syntax highlighting: