Mojolicious::Plugin::Pedro - A web-based Perl editor Mojolicious plugin
# As a Mojolicious plugin $self->plugin('Pedro'); # As a Mojolicious::Lite plugin plugin 'Pedro'; # Or as a seperate Pedro webserver $ pedro
This is a web-based Perl editor that runs inside your favorite modern browser. It can embedded in your Mojolicious plugin to edit your files, or it can be be run as a separate Perl webserver.
There are several operation modes for Pedro:
As a separate Pedro process, please run the following command and it will launch the default browser automatically:
pedro
As a Mojolicious plugin, please add the following code to your script to enable /pedro route:
$self->plugin('Pedro');
As Mojolicious::Lite plugin, please add the following code to your script to enable /pedro route:
plugin 'Pedro';
To access Pedro, please type http://127.0.0.1:3000/pedro after your Mojolicious application starts.
Mojolicious::Plugin::Pedro inherits all methods from Mojolicious::Plugin and implements the following new ones.
register
$plugin->register;
Register plugin in Mojolicious application.
If you find a bug, please report it in:
http://code.google.com/p/mojolicious-plugin-pedro/issues/list
If you find this module useful, please rate it in:
http://cpanratings.perl.org/d/Padre-Plugin-Pedro
Mojolicious, Mojolicious::Guides, http://mojolicio.us, PPI.
Ahmad M. Zawawi <ahmad.zawawi@gmail.com>
This software is copyright (c) 2012 by Ahmad M. Zawawi
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Mojolicious::Plugin::Pedro, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::Pedro
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::Pedro
For more information on module installation, please visit the detailed CPAN module installation guide.