Install cpanminus (cpanm) if you haven't already. Then run
This will install Poet and its dependencies, including Mason.
> cpanm -S --notest Poet
- Omit the "-S" if you don't have root, in which case cpanminus will install Poet
and prereqs into ~/perl5.
- Omit the "--notest" if you want to run all the installation tests (will take about
x4 as long).
Once you've installed Poet, create your initial environment:
Then start your server:
> poet new MyApp my_app/.poet_root my_app/bin/app.psgi my_app/bin/get.pl ... Now run 'my_app/bin/run.pl' to start your server.
For more, see Poet::Manual::Tutorial.
> my_app/bin/run.pl Running plackup --Reload ... --env development --port 5000 Watching ... for file updates. HTTP::Server::PSGI: Accepting connections at http://0:5000/