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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)