NAME

App::cdif::Command - Compatibility wrapper for Command::Run

SYNOPSIS

use App::cdif::Command;

my $obj = App::cdif::Command->new('ls', '-l');
$obj->update;
print $obj->data;

DESCRIPTION

This module is a thin wrapper around Command::Run for backward compatibility. New code should use Command::Run directly.

COMPATIBILITY

The following compatibility features are provided:

  • command method accepts array references and expands them

  • read_error option is mapped to stderr => 'redirect'

  • stdin method returns the internal INPUT filehandle

  • setstdin method is mapped to with(stdin => ...)

SEE ALSO

Command::Run