CatalystX::Usul::Response - Response class for running external programs


CatalystX-Usul documentation Contained in the CatalystX-Usul distribution.

Index


Code Index:

Name

Top

CatalystX::Usul::Response - Response class for running external programs

Version

Top

0.3.$Revision: 576 $

Synopsis

Top

   use CatalystX::Usul::Response;

   my $result = CatalystX::Usul::Response->new();

Description

Top

Response class returned by run_cmd in CatalystX::Usul::Utils and popen in CatalystX::Usul::Utils

Configuration and Environment

Top

This class defined these attributes:

core

True if external commands core dumped

out

Processed output from the command

sig

Signal that caused the program to terminate

stderr

The standard error output from the command

stdout

The standard output from the command

Subroutines/Methods

Top

new

Basic constructor

Diagnostics

Top

None

Dependencies

Top

Class::Accessor::Fast

Incompatibilities

Top

There are no known incompatibilities in this module

Bugs and Limitations

Top

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Top

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Top


CatalystX-Usul documentation Contained in the CatalystX-Usul distribution.

# @(#)$Id: Response.pm 576 2009-06-09 23:23:46Z pjf $

package CatalystX::Usul::Response;

use strict;
use warnings;
use version; our $VERSION = qv( sprintf '0.3.%d', q$Rev: 576 $ =~ /\d+/gmx );
use parent qw(Class::Accessor::Fast);

__PACKAGE__->mk_accessors( qw(core out sig stderr stdout) );

sub new {
   my $self = shift;

   return bless { core   => 0,   out    => q(), sig => undef,
                  stderr => q(), stdout => q() }, ref $self || $self;
}

1;

__END__

# Local Variables:
# mode: perl
# tab-width: 3
# End: