Cataly...Server(3pm)
β¨ NAME β¨
Catalyst::Script::Server β it's the Catalyst test server bestie π (that's the 3pm page from the User Contributed Perl Documentation, if you were wondering where we are).
πΈ SYNOPSIS πΈ
myapp_server.pl [options]
Options:
-d --debug force debug mode
-f --fork handle each request in a new process
(defaults to false)
--help display this help and exits
-h --host host (defaults to all)
-p --port port (defaults to 3000)
-k --keepalive enable keep-alive connections
-r --restart restart when files get modified
(defaults to false)
--rd --restart_delay delay between file checks
(ignored if you have Linux::Inotify2 installed)
--rr --restart_regex regex match files that trigger
a restart when modified
(defaults to '\.yml$|\.yaml$|\.conf|\.pm$')
--rdir --restart_directory the directory to search for
modified files, can be set multiple times
(defaults to '[SCRIPT_DIR]/..')
--sym --follow_symlinks follow symlinks in search directories
(defaults to false. this is a no-op on Win32)
--bg --background run the process in the background
--pid --pidfile specify filename for pid file
See also:
perldoc Catalyst::Manual
perldoc Catalyst::Manual::Intro
π okay so let's decode all of that, one flag at a time π
-d,--debugβ force debug mode. no vibes-based guessing, you're turning it ON π-f,--forkβ every single request gets handled in a new process. very "one task at a time, main character" energy. defaults to false.--helpβ shows you this exact help text and then exits. it's giving "here's the menu, bye" π-h,--hostβ the host. defaults to all, so it's not picky, it loves everyone π«Ά-p,--portβ the port. defaults to 3000. iconic number fr fr.-k,--keepaliveβ turns on keep-alive connections β¨-r,--restartβ restarts whenever files get modified. defaults to false. the self-care of dev servers, honestly π--rd,--restart_delayβ the delay between file checks. > heads up: this one is ignored if you haveLinux::Inotify2installed β it just doesn't need it, no cap.--rr,--restart_regexβ a regex that matches the files which trigger a restart when they get modified. defaults to'\.yml$|\.yaml$|\.conf|\.pm$'π--rdir,--restart_directoryβ the directory it searches for modified files. you can set this multiple times, stack them like scrunchies. defaults to'[SCRIPT_DIR]/..'π¦--sym,--follow_symlinksβ follow symlinks in the search directories. defaults to false. this is a no-op on Win32, so on Windows it literally does nothing, don't come for me π--bg,--backgroundβ runs the process in the background, sneaky little icon π--pid,--pidfileβ lets you specify the filename for the pid file π
and also, bestie, go look at:
perldoc Catalyst::Manualperldoc Catalyst::Manual::Intro
π¦ DESCRIPTION π¦
It runs a Catalyst test server for this application. that's it, that's the whole description, and honestly? it ate. short, sweet, no filler β¨
π SEE ALSO π
Catalyst::ScriptRunnerβ go read that one too, iykyk πΈ
π AUTHORS π
Catalyst Contributors, see Catalyst.pm π
β COPYRIGHT β
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself</sames> β sorry, same terms as Perl itself π
and that's the whole page, bestie, you understood it perfectly, so proud of you π«Άπ
this was perl v5.40.0, dated 2024-11-15, from the Cataly...Server(3pm) page β mwah, slay, bye β¨π
π¦ where this page comes from
- debian trixie: libcatalyst-perl 5.90132-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatalyst-perl 5.90132-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatalyst-perl 5.90132-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms