Help for this page

Select Code to Download


  1. or download this
    $ cpanp install Mojo
    ... no prereqs needed, so installation will be very fast ...
    ...
    $ cd my_mojolicious_app
    $ bin/mojolicious daemon
    Server available at http://127.0.0.1:3000.
    
  2. or download this
    $ MOJO_RELOAD=1 bin/mojolicious daemon
    Server available at http://127.0.0.1:3000.
    
  3. or download this
    package MyMojoliciousApp;
    
    ...
    }
    
    1;
    
  4. or download this
    package MyMojoliciousApp::Example;
    
    ...
    }
    
    1;
    
  5. or download this
    % my $c = shift;
    
    ...
    This page was generated from a template at templates/example/test.phtm
    +l, 
    <a href="<%= $c->url_for(action => 'test') %>">click here</a> 
    to move forward to a templateless action.