Padre

 view release on metacpan or  search on metacpan

lib/Padre/PluginBuilder.pm  view on Meta::CPAN

	my ($self) = @_;

	$self->depends_on('plugin');

	my $module = $self->module_name;
	$module =~ s/^Padre::Plugin:://;
	$module =~ s/::/-/g;
	my $plugin = "$module.par";

	require Padre;
	return $self->copy_if_modified(
		from   => $plugin,
		to_dir => Padre::Constant::PLUGIN_DIR,
	);
}

1;

__END__

=pod



( run in 1.831 second using v1.01-cache-2.11-cpan-39bf76dae61 )