Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mojolicious::command::generate::plugin(3pm) [debian man page]

Mojolicious::Command::generate::plugin(3pm)		User Contributed Perl Documentation	       Mojolicious::Command::generate::plugin(3pm)

NAME
Mojolicious::Command::generate::plugin - Plugin generator command SYNOPSIS
use Mojolicious::Command::generate::plugin; my $plugin = Mojolicious::Command::generate::plugin->new; $plugin->run(@ARGV); DESCRIPTION
Mojolicious::Command::generate::plugin generates directory structures for fully functional Mojolicious plugins. ATTRIBUTES
Mojolicious::Command::generate::plugin inherits all attributes from Mojo::Command and implements the following new ones. "description" my $description = $plugin->description; $plugin = $plugin->description('Foo!'); Short description of this command, used for the command list. "usage" my $usage = $plugin->usage; $plugin = $plugin->usage('Foo!'); Usage information for this command, used for the help screen. METHODS
Mojolicious::Command::generate::plugin inherits all methods from Mojo::Command and implements the following new ones. "run" $plugin->run(@ARGV); Run this command. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojolicious::Command::generate::plugin(3pm)

Check Out this Related Man Page

Mojolicious::Plugin::Mount(3pm) 			User Contributed Perl Documentation			   Mojolicious::Plugin::Mount(3pm)

NAME
Mojolicious::Plugin::Mount - Application mount plugin SYNOPSIS
# Mojolicious my $route = $self->plugin(Mount => {'/prefix' => '/home/sri/myapp.pl'}); # Mojolicious::Lite my $route = 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. The code of this plugin is a good example for learning to build new plugins, you're welcome to fork it. METHODS
Mojolicious::Plugin::Mount inherits all methods from Mojolicious::Plugin and implements the following new ones. "register" my $route = $plugin->register($app, $conf); Mount Mojolicious application. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojolicious::Plugin::Mount(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Command missing

I am wondering if anyone knows a place where a person can download a command for the HP-UX 9.04 OS. The machine is just sitting around, and is not being used due to the fact that it is not Y2K compliant (or so the rumor goes). The command that does not exist is "reboot", which normally resides... (6 Replies)
Discussion started by: thekid
6 Replies

2. UNIX Desktop Questions & Answers

Is there Shockwave for me?

Yep, 'Nuther harried day at the helicopter factory... My current query: Can anyone guide me to the Shockwave plugin, if one exists, that will run on my Netscape 1.72? System is: RS 6000, 44P Model 170 BASH Shell AIX 4.3 As ever, Your help is most appreciated... tatum (4 Replies)
Discussion started by: Tatum
4 Replies

3. UNIX for Dummies Questions & Answers

Command not working in HP-UX

Hi All, This command is not working in HP-UX os. $ ps -eo pcpu,pid,user,args | sort -k1 -r | head -11 ps: illegal option -- o usage: ps Usage: sort .. ].. .. Please help me on this command..Please suggest me the correct the syntax of the command... Waiting... (6 Replies)
Discussion started by: jack00423
6 Replies

4. UNIX for Dummies Questions & Answers

Run Command in Specific Time ...

Guy's I want to make script to run this command solevel every Saturday at 8:00 clock exactly . Can you please help me and teach me how to do this ... (9 Replies)
Discussion started by: IT Helper
9 Replies

5. UNIX for Dummies Questions & Answers

Command 'rm -f -r "0yfOYy-0008Nq-2j-32233-K"' failed with return code 1 and error mes

I would like to know what means this error and how to fix it Command 'rm -f -r "0yfOYy-0008Nq-2j-32233-K"' failed with return code 1 and error message Thank you (3 Replies)
Discussion started by: linuxbee
3 Replies

6. UNIX for Dummies Questions & Answers

df and du command showing different results

I recently encountered this on the AIX system df command showed usage is 100% i.e 1.5 GB while du command showed usage is only 500MB Why are the 2 commands showing different output This command shows usage is 1.5 GB nlxdsm29:deqadm 24> df -k . /usr/sap/DEQ ... (3 Replies)
Discussion started by: ameya_joshi
3 Replies

7. UNIX for Dummies Questions & Answers

LINUX - How to remove the final delimiter from a command output

Hi All, I am trying to list the various dates for which the file is available in a directory using the command below, (& subsequently pass the command output to a loop) Command : ls dir|grep 'filename'|cut -d '_' -f1|cut -c1-8|tr '\n' ',' However, it is giving me an extra comma... (6 Replies)
Discussion started by: dsfreddie
6 Replies

8. OS X (Apple)

UNIX cache problem?

So I worked out a script for Mac OSX from an existing script. This script checks the versionnumber of a plugin and a package. If the plugin version is different from the package it has to update the plugin. The script works fine but the final check fails. Here is my script: #compare version... (6 Replies)
Discussion started by: mattiasvdm
6 Replies

9. Shell Programming and Scripting

Do While Loop Command help

Hello, Can some one help me with do-while loop command and writing the out put to a file. Below is the command I want to use. Command: netstat -an |grep 1421 |grep "ESTABLISHED" |wc -l thanks in advance. (11 Replies)
Discussion started by: skrv
11 Replies

10. UNIX for Dummies Questions & Answers

Command expansion and variables

Command expansions are pretty useful in some situations, however, I am not understanding why expansions do not update files, folders, directories, or even the current time, when there are placed in variables. For example: #create variable d=$(date) result echo $d Fri Jun 14 15:48:04... (8 Replies)
Discussion started by: BrandonD
8 Replies

11. Shell Programming and Scripting

Command needed

Hi, I have the date as 20130101 and i need it to rephrased to 2013-01-01. Any command which can do this. (5 Replies)
Discussion started by: ATWC
5 Replies

12. AIX

Command to find file system details on AIX

Hi , Could you please tell me how to find the following on AIX? 1.Command to find file system details? 2.What are all the files exist under a specific directory along with their sizes? In general we use, du -sh * | grep M under a directory which returns files having size of MB,... (18 Replies)
Discussion started by: Maddy123
18 Replies

13. Shell Programming and Scripting

awk to print specific line in file based on criteria

In the file below I am trying to extract a specific instance of path, if the adjacent plugin": "/rundb/api/v1/plugin/49/. Thank you :). file "path": "/results/analysis/output/Home/Auto_user_S5-00580-4-Medexome_65_028/plugin_out/FileExporter_out.52", "plugin": "/rundb/api/v1/plugin/49/",... (8 Replies)
Discussion started by: cmccabe
8 Replies

14. SCO

Command to View Processor Usage

Hi everyone, i used to know the command to show current CPU usage but i cannot remember it. It was not "Top". Openserver 6. (4 Replies)
Discussion started by: Paulbas
4 Replies

15. UNIX for Beginners Questions & Answers

Command finds some, misses some

The contents of my home directory: bin Desktop Documents Downloads folders Music Pictures Public Templates Videos When I run the command for file in /home/myself/*d*; do if ; then echo $file; fi; doneit finds /home/myself/Downloads /home/myself/Videos but not "folders". ... (5 Replies)
Discussion started by: Xubuntu56
5 Replies