ExtUtils::Builder::Action::Command(3pm)

ExtUtils::Builder::Action::Command3pm

An action object for external commands

Usage

 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

Overview

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.

Attributes

command

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

Author

Leon Timmermans <[email protected]>

From libextutils-builder-perl 0.017-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.