09-19-2007
The return code depends on the command last run
See man page for Exit Status description of the comman you use
for example see the man page for xargs
Exit Status This command returns the following exit values:
0 All invocations of the Command parameter returned exit status 0.
1-125 A command line meeting the specified requirements could not be assembled, one or more of the invocations of the Command parameter returned a non-zero exit status, or some other error occurred.
126 Command was found but could not be invoked.
127 Command could not be found.
2 More Discussions You Might Find Interesting
1. Web Development
sir.. i am working in a WAN......
i am getting the login screen for an application by typing the address of the location and the file name "http:/121.12.12.111/xyz.html" from the node 121.12.12.125.
now i had my web applicatioon at 121.12.12.125 for which i have taken the source code of the... (0 Replies)
Discussion started by: KANNI786
0 Replies
2. UNIX for Advanced & Expert Users
I am setting the socket option SO_BINDTODEVICE for eth0 to be able to route the packets only through that interface. However, bind() fails with "Port already in use" error with this option when the server is restarted despite having the socket option SO_REUSEADDR.
Here is my code snippet:
... (0 Replies)
Discussion started by: deepti0719
0 Replies
LEARN ABOUT DEBIAN
mojolicious::command::generate::plugin
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)