Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

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

NAME
Mojolicious::Command::generate - Generator command SYNOPSIS
use Mojolicious::Command::generate; my $generator = Mojolicious::Command::generate->new; $generator->run(@ARGV); DESCRIPTION
Mojolicious::Command::generate lists available generators. ATTRIBUTES
Mojolicious::Command::generate inherits all attributes from Mojolicious::Commands and implements the following new ones. "description" my $description = $generator->description; $generator = $generator->description('Foo!'); Short description of this command, used for the command list. "hint" my $hint = $generator->hint; $generator = $generator->hint('Foo!'); Short hint shown after listing available generator commands. "message" my $message = $generator->message; $generator = $generator->message('Bar!'); Short usage message shown before listing available generator commands. "namespaces" my $namespaces = $generator->namespaces; $generator = $generator->namespaces(['Mojo::Command::generate']); Namespaces to search for available generator commands, defaults to Mojolicious::Command::generate and Mojo::Command::generate. METHODS
Mojolicious::Command::generate inherits all methods from Mojolicious::Commands and implements the following new ones. "help" $generator->help('app'); Print usage information for generator command. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojolicious::Command::generate(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

How do I find where line 468 is?

I am getting the error and need to know an easy way to find a line number. m1: syntax error at line 468 : `'' unmatched Is there a command or utility that will provide line numbers for my scripts when troubleshooting? Thanks, (7 Replies)
Discussion started by: darthur
7 Replies

2. UNIX for Dummies Questions & Answers

Back Command

I'm pretty new to UNIX and was wondering what is the Unix command for going back one directory? (3 Replies)
Discussion started by: Jatic
3 Replies

3. UNIX for Dummies Questions & Answers

Find users using system(List them only once)

Hey, got a few questions here for anyone who can help...... Command line to - display users using the system, but count them only once. Command line to - use the lastcomm command to display how many times ive used grep in october. Command line to - list all logged on users with at least 6... (3 Replies)
Discussion started by: xBuRnTx
3 Replies

4. UNIX for Dummies Questions & Answers

Command to replace character

I've been googling for the following for the past few weeks several times, but haven't yet come across something that I could easily grasp. Can someone point me in the right direction please? I'm trying to replace a character in file names, i.e. the character is a period, and I want to replace... (5 Replies)
Discussion started by: HLee1981
5 Replies

5. UNIX for Advanced & Expert Users

Command for identifying Virtual Machine

Hi, I need a command which will tell me definitely if a particular Linux System is Virtual (Guest) or Physical. Is there a command for this? Command will be preferable over any Script. Thanks, Vineet (3 Replies)
Discussion started by: vineetd
3 Replies

6. Shell Programming and Scripting

Range generator

Dear All, I have a sorted file like 1 2 3 8 9 10 45 46 47 78 The output will be range like 1 3 8 10 45 47 78 78 (9 Replies)
Discussion started by: saifurshaon
9 Replies

7. UNIX for Dummies Questions & Answers

Command to run multiple commands from a file.

I need a command, which could run mutliple commands from a file. Let's say, I have mv fileA1 fileB1 mv fileA2 fileB2 ..... mv fileA20 fileB20 I put these commands in a file, then I need a command to run the file as a whole so that I don't need to type 20 times... Anyone tell me how to... (8 Replies)
Discussion started by: kaixinsjtu
8 Replies

8. 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

9. Shell Programming and Scripting

How to generate 10.000 unique numbers?

hello, does anybody can give me a hint on how to generate a lot of numbers which are not identically via scripting etc? (7 Replies)
Discussion started by: xrays
7 Replies

10. Post Here to Contact Site Administrators and Moderators

Searching for "menu generator"

Hello. Happy new year for everybody. I would like to search for "menu generator" not for menu or generator. Is it possible ? I get an error : Array What is the meaning ? (5 Replies)
Discussion started by: jcdole
5 Replies

11. 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

12. Shell Programming and Scripting

[Solved] Number generator

Hello, I want to generate numbers. between "0 to 100000" Thank you very much for your help. Output: 0 25 50 75 100 125 . . 100000 (4 Replies)
Discussion started by: tara123
4 Replies

13. UNIX for Dummies Questions & Answers

Command showing no output!

Hi Folks, I have a situation here, where no command is giving any output, and it's not even showing any error message also. What could be the reason? (3 Replies)
Discussion started by: nixhead
3 Replies

14. UNIX for Beginners Questions & Answers

Command not found

On my MAC - I get Command not found error for some command like mvn , java_home etc . I CD to the actual directory to take path out of picture and even then i get the command not found error . anyone else have the same problem ? (3 Replies)
Discussion started by: ambm01
3 Replies

15. 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