Skip to content

ltmbr/Perl-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Perl::Server - A simple Perl server launcher.

SYNOPSIS

# run path current
$ perl-server 

# run path 
$ perl-server /home/foo/www

# run file Perl
$ perl-server foo.pl

# run file psgi
$ perl-server app.psgi 

DESCRIPTION

Perl::Server is a simple, zero-configuration command-line Perl server. It is to be used for testing, local development, and learning.

Using Perl::Server:

$ perl-server [path] [options]

# or

$ perl-server [options]

OPTIONS

-p, --port

$ perl-server path -p 5000 

$ perl-server path -p e

$ perl-server path -p empty

Specifies the port to bind or set e or empty to a random free port.

Others options are the same as Plackup Options.

SEE ALSO

Plack, Plack::App::WWW, Plack::App::WrapCGI, Plack::App::CGIBin, plackup.

AUTHOR

Lucas Tiago de Moraes lucastiagodemoraes@gmail.com

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by Lucas Tiago de Moraes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.