The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

squatting -- Squatting server start-up script

SYNOPSIS

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?' })

DESCRIPTION

Start a Squatting application.

OPTIONS

-p, --port NUM

Port for web server (defaults to 4234)

-c, --config ATTR=VALUE

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.

Example:

  squatting App --config doc_root=/www/app.com --config hostname=app.com
-s, --show-config

Display an App's %CONFIG hash and exit.

-m, --module MODULE

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
-l, --log FILE

Send log output to a log file.

-C, --console

Run in console mode with Shell::Perl.

--debug NUM

Set Continuity's debug level. 0 is the least verbose setting, and higher numbers get progressively more verbose.

-v, --version

Show version

Display the International Squatting Symbol.

-h, --help

Show the help message