squatting -- Squatting server start-up script
Usage:
squatting [OPTION]... APPLICATION
Starting an App in web server mode on port 4234:
squatting -p 4234 App
Start an App in interactive console mode:
squatting -C App Welcome to the Perl shell. Type ':help' for more information App @> \@App::Controllers::C App @> \%App::Controllers::C App @> \@App::Views::V App @> \%App::Views::V App @> App->get('Home') App @> App->post('Comment', { name => 'beppu', body => 'Why?' })
Start a Squatting application.
Port for web server (defaults to 4234)
The standard way to configure a Squatting application is to manipulate its %CONFIG hash. The --config option lets you set values in this hash, and you may use --config multiple times in a single command line.
%CONFIG
Example:
squatting App --config doc_root=/www/app.com --config hostname=app.com
Display an App's %CONFIG hash and exit.
This option can be used to load additional Squatting plugins into the app, and you may use this option multiple times in a single command line. Note that Squatting::With::AccessTrace and Squatting::With::Log are loaded by default.
Example: Loading Squatting::With::UTF8 and Squatting::With::Coro::Debug
squatting App -m With::UTF8 -m With::Coro::Debug
Send log output to a log file.
Run in console mode with Shell::Perl.
Set Continuity's debug level. 0 is the least verbose setting, and higher numbers get progressively more verbose.
Show version
Display the International Squatting Symbol.
Show the help message
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.