OpenInteract2::Manage::Package::CreateCPAN

OpenInteract2::Manage::Package::CreateCPAN is a Perl module to create a CPAN distribution from a package.
Download

OpenInteract2::Manage::Package::CreateCPAN Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Chris Winters
  • Publisher web site:
  • http://search.cpan.org/~cwinters/SPOPS-0.87/SPOPS/SQLInterface.pm

OpenInteract2::Manage::Package::CreateCPAN Tags


OpenInteract2::Manage::Package::CreateCPAN Description

OpenInteract2::Manage::Package::CreateCPAN is a Perl module to create a CPAN distribution from a package. OpenInteract2::Manage::Package::CreateCPAN is a Perl module to create a CPAN distribution from a package.SYNOPSIS # From command-line: $ oi2_manage create_cpan # Programmatically: #!/usr/bin/perl use strict; use OpenInteract2::Manage; my $website_dir = '/home/httpd/mysite'; my %PARAMS = ( package_dir = '/path/to/my/package' ); my $task = OpenInteract2::Manage->new( 'create_cpan', %PARAMS ); my @status = $task->execute; foreach my $s ( @status ) { my $ok_label = ( $s->{is_ok} eq 'yes' ) ? 'OK' : 'NOT OK'; print "Status? $ok_labeln", "$s->{message}n"; }This task creates a CPAN distribution from your package contents and metadata. You should be able to send the generated distribution to anyone else for them to run the standard install: perl Makefile.PL make make test make installFor installing directly to a webserver you can do: perl Makefile.PL WEBSITE_DIR=/path/to/mysite make make test make installAnd the files will be copied to the right place.OPTIONSRequiredpackage_dir=/path/to/packagePath to your package; defaults to current directory if not given.make_bin=nmakeName of your 'make' command; defaults to 'make' if not given.Optionalkeep_dir=yes/noWhether to keep the directory we use to create the CPAN package; defaults to 'no'. Requirements: · Perl


OpenInteract2::Manage::Package::CreateCPAN Related Software