Philip Crow > Bigtop > docs/keyword_cookbook/controller/rel_location/discussion

Download:
Bigtop-0.38.tar.gz

Annotate this POD

CPAN RT

New  2
Open  1
View/Report Bugs
Source  

USE ^

Every controller needs to have either a location or a rel_location (except the base controller see below) to control its URL.

The rel_location specifies a URL which is relative to the base controller's URL. This specifically means that the base controller cannot have a rel_location.

What if you need a module that will not be mounted on a URL? Then, in my terminology, that module is not a controller. You are welcome to have such modules in your application, just don't tell Bigtop about them.

EXAMPLE ^

Build the example with:

    bigtop -c example.bigtop all

Change to the Kids directory and start app.server. Look for rascals in the list of URL choices.

syntax highlighting: