logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ExtUtils::Builder::Action::Command - An action object for external commands

Attributes

command
       This is the command that should be run, represented as an array ref.

Author

       Leon Timmermans <fawaka@gmail.com>

Description

       This is a primitive action object wrapping an external command. The easiest way to use it is to serialize
       it to command, though it doesn't mind being executed right away. For more information on actions, see
       ExtUtils::Builder::Action.

Name

       ExtUtils::Builder::Action::Command - An action object for external commands

Synopsis

        my @cmd = qw/echo Hello World!/;
        my $action = ExtUtils::Builder::Action::Command->new(command => \@cmd);
        $action->execute;
        say "Executed: ", join ' ', @{$_} for $action->to_command;

Version

       version 0.017

See Also