The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

CPAN::Smoker::Utils::PerlConfig - class representing a perl configuration

SYNOPSIS

    use CPAN::Smoker::Utils::PerlConfig;

    my $cfg = CPAN::Smoker::Utils::PerlConfig->new;

DESCRIPTION

This class represents a perl configuration in a way that can be used by the dblock CLI.

It was created to handle the details of a distroprefs implementation, specially regarding dealing with undef values.

METHODS

new

Creates a new instance of this class.

Expects nothing, returns a new instance.

dump

This methods returns a instance attributes as a hash reference.

This is particulary useful to use with YAML modules DumpFile function.

SEE ALSO

AUTHOR

Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 of Alceu Rodrigues de Freitas Junior, arfreitas@cpan.org

This file is part of CPAN Smoker Utils.

CPAN Smoker Utils is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

CPAN Smoker Utils is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with CPAN Smoker Utils. If not, see http://www.gnu.org/licenses/.