Mojolicious::Plugin::Mount man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Mojolicious::Plugin::MUser(Contributed Perl DocumMojolicious::Plugin::Mount(3)

NAME
       Mojolicious::Plugin::Mount - Application Mount Plugin

SYNOPSIS
	 # Mojolicious
	 $self->plugin(Mount => {'/prefix' => '/home/sri/myapp.pl'});

	 # Mojolicious::Lite
	 plugin Mount => {'/prefix' => '/home/sri/myapp.pl'};

	 # Adjust the generated route
	 my $example = plugin Mount => {'/example' => '/home/sri/example.pl'};
	 $example->to(message => 'It works great!');

	 # Mount application with host
	 plugin Mount => {'mojolicio.us' => '/home/sri/myapp.pl'};

	 # Host and path
	 plugin Mount => {'mojolicio.us/myapp' => '/home/sri/myapp.pl'};

	 # Or even hosts with wildcard subdomains
	 plugin Mount => {'*.mojolicio.us/myapp' => '/home/sri/myapp.pl'};

DESCRIPTION
       Mojolicious::Plugin::Mount is a plugin that allows you to mount whole
       Mojolicious applications.  Note that this module is EXPERIMENTAL and
       might change without warning!

METHODS
       Mojolicious::Plugin::Mount inherits all methods from
       Mojolicious::Plugin and implements the following new ones.

   "register"
	 $plugin->register;

       Mount Mojolicious application.

SEE ALSO
       Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.

perl v5.14.1			  2011-09-09	 Mojolicious::Plugin::Mount(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net