Dist::Joseki::DistType - Distribution type class wrapper


Dist-Joseki documentation Contained in the Dist-Joseki distribution.

Index


Code Index:

NAME

Top

Dist::Joseki::DistType - Distribution type class wrapper

SYNOPSIS

Top

    Dist::Joseki::DistType->new;

DESCRIPTION

Top

None yet. This is an early release; fully functional, but undocumented. The next release will have more documentation.

BUGS AND LIMITATIONS

Top

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org.

INSTALLATION

Top

See perlmodinstall for information and options on installing Perl modules.

AVAILABILITY

Top

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a CPAN site near you. Or see http://search.cpan.org/dist/Dist-Joseki/.

AUTHORS

Top

Marcel Grünauer, <marcel@cpan.org>

COPYRIGHT AND LICENSE

Top


Dist-Joseki documentation Contained in the Dist-Joseki distribution.

package Dist::Joseki::DistType;
use warnings;
use strict;
use Dist::Joseki::DistType::ModuleBuild;
use Dist::Joseki::DistType::MakeMaker;
our $VERSION = '0.20';

sub new {
    my $class = shift;
    return Dist::Joseki::DistType::ModuleBuild->new if -e "Build.PL";
    return Dist::Joseki::DistType::MakeMaker->new   if -e "Makefile.PL";
    die "Can't determine dist type. Is this a perl distribution root dir?\n";
}
1;
__END__