App-Tel
view release on metacpan or search on metacpan
local/lib/perl5/inc/Module/Install/DSL.pm view on Meta::CPAN
package inc::Module::Install::DSL;
# This module ONLY loads if the user has manually installed their own
# installation of Module::Install, and are some form of MI author.
#
# It runs from the installed location, and is never bundled
# along with the other bundled modules.
#
# So because the version of this differs from the version that will
# be bundled almost every time, it doesn't have it's own version and
# isn't part of the synchronisation-checking.
use strict;
use vars qw{$VERSION};
BEGIN {
# While this version will be overwritten when Module::Install
# loads, it remains so Module::Install itself can detect which
# version an author currently has installed.
# This allows it to implement any back-compatibility features
# it may want or need to.
$VERSION = '1.16';
}
if ( -d './inc' ) {
my $author = $^O eq 'VMS' ? './inc/_author' : './inc/.author';
if ( -d $author ) {
$Module::Install::AUTHOR = 1;
require File::Path;
File::Path::rmtree('inc');
}
} else {
$Module::Install::AUTHOR = 1;
}
unshift @INC, 'inc' unless $INC[0] eq 'inc';
require inc::Module::Install;
require Module::Install::DSL;
# Tie our import to the main one
sub import {
goto &Module::Install::DSL::import;
}
1;
=pod
=head1 NAME
inc::Module::Install::DSL - Domain Specific Language for Module::Install
=head1 SYNOPSIS
use inc::Module::Install::DSL 0.80;
all_from lib/ADAMK/Repository.pm
requires File::Spec 3.29
requires File::pushd 1.00
requires File::Find::Rule 0.30
requires File::Find::Rule::VCS 1.05
requires File::Flat 0
requires File::Remove 1.42
requires IPC::Run3 0.034
requires Object::Tiny 1.06
requires Params::Util 0.35
requires CPAN::Version 5.5
test_requires Test::More 0.86
test_requires Test::Script 1.03
install_script adamk
requires_external_bin svn
( run in 1.516 second using v1.01-cache-2.11-cpan-5837b0d9d2c )