NAME
POE::Component::SmokeBox::Smoker - encapsulates a smoker object.
SYNOPSIS
use POE::Component::SmokeBox::Smoker;
my $smoker = POE::Component::SmokeBox::Smoker->new(
perl => '/home/foo/perl-5.10.0/bin/perl',
env => { APPDATA => '/home/foo/perl-5.10.0/', },
);
print $smoker->perl();
my $hashref = $smoker->env();
DESCRIPTION
POE::Component::SmokeBox::Smoker provides an object based API for SmokeBox smokers. A smoker is defined as the path to a perl
executable that is configured for CPAN Testing and its associated environment settings.
CONSTRUCTOR
new
-
Creates a new POE::Component::SmokeBox::Smoker object. Takes two parameters:
'perl', the path to a suitable perl executable, (required); 'env', a hashref containing %ENV type environment variables;
METHODS
perl
-
Returns the
perl
executable path that was set. env
-
Returns the hashref of %ENV settings, if applicable.
dump_data
-
Returns all the data contained in the object as a list.
AUTHOR
Chris BinGOs
Williams
LICENSE
Copyright (C)
Chris Williams
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.