The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mojo::Script::Daemon - Daemon Script

SYNOPSIS

    use Mojo::Script::Daemon;

    my $daemon = Mojo::Script::Daemon->new;
    $daemon->run(@ARGV);

DESCRIPTION

Mojo::Script::Daemon is a script interface to Mojo::Server::Daemon.

ATTRIBUTES

Mojo::Script::Daemon inherits all attributes from Mojo::Script and implements the following new ones.

description

    my $description = $daemon->description;
    $daemon         = $daemon->description('Foo!');

METHODS

Mojo::Script::Daemon inherits all methods from Mojo::Script and implements the following new ones.

run

    $daemon = $daemon->run(@ARGV);