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

Module::FromPerlVer::Extract - common methods for extractors.

SYNOPSIS

# see also Module::FromPerlVer::Extract for 
# valid arguments.
#
# the purpose of this module is keeping new
# and friends out of M::PFV.

my $type    = 'Dir';    # or 'Git'

my $class   = qualify $type, 'Module::FromPerlVer';

# call construct then dispatch EVERY::LAST::init.

my $extract = $class->new( $argz );

# acquire, store, delete a value stored in
# the extractor.

my $value   = $extract->value( 'foobar' );

my $new_val = $extract->value( foobar => $value );
my $old_val = $extract->value( foobar => undef  );

LICENSE

This code is licensed under the same terms as Perl-5.26 or any later released version of Perl.

COPYRIGHT

Copyright 2018, Steven Lembark, all rights reserved.

AUTHOR

Steven Lembark <lembark@wrkhors.com>