Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SQUATTING(1)	      User Contributed Perl Documentation	  SQUATTING(1)

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

       --logo
	 Display the International Squatting Symbol.

       -h, --help
	 Show the help message

perl v5.32.0			  2014-02-20			  SQUATTING(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=squatting&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help