NAME
Mojo::Scripts - Script Interface
SYNOPSIS
use Mojo::Scripts;
my $scripts = Mojo::Scripts->new;
$scripts->run(@ARGV);
DESCRIPTION
Mojo::Scripts is the interactive script interface to the Mojo framework.
ATTRIBUTES
Mojo::Scrips inherits all attributes from Mojo::Script and implements the following new ones.
base
my $base = $scripts->base;
my $scripts = $scripts->base('Mojo::Script');
namespace
my $namespace = $scripts->namespace;
my $scripts = $scripts->namespace('Mojo::Script');
message
my $message = $scripts->message;
my $scripts = $scripts->message('Hello World!');
METHODS
Mojo::Scrips inherits all methods from Mojo::Script and implements the following new ones.
run
$scripts = $scripts->run(@ARGV);