前端之家收集整理的这篇文章主要介绍了
Perl安装Mojolicious,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
C:\Users\admin>ppm install MojolicIoUs
Downloading MojolicIoUs-6.08...done
Downloading IO-Socket-IP-0.37...done
Unpacking MojolicIoUs-6.08...done
Unpacking IO-Socket-IP-0.37...done
Generating HTML for MojolicIoUs-6.08...done
Generating HTML for IO-Socket-IP-0.37...done
Updating files in site area...done
255 files installed
C:\Users\admin>mojo
Usage: APPLICATION COMMAND [OPTIONS]
Tip: CGI and PSGI environments can be automatically detected very often and
work without commands.
Options (for all commands):
-h, --help Get more information on a specific command
--home <path> Path to your applications home directory, defaults to
the value of MOJO_HOME or auto detection
-m, --mode <name> Operating mode for your application, defaults to the
value of MOJO_MODE/PLACK_ENV or "development"
Commands:
cgi Start application with CGI
cpanify Upload distribution to CPAN
daemon Start application with HTTP and WebSocket server
eval Run code against application
generate Generate files and directories from templates
get Perform HTTP request
inflate Inflate embedded files to real files
prefork Start application with preforking HTTP and WebSocket server
psgi Start application with PSGI
routes Show available routes
test Run tests
version Show versions of available modules
See 'APPLICATION help COMMAND' for more information on a specific command.
C:\Users\admin>