Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    OpenInteract2::Manage::Package::CreateCPAN 1.99_06

    Download button

    No screenshots available
    Downloads: 309  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Very Good (4.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Chris Winters | More programs
    Perl Artistic License / FREE
    January 5th, 2008, 02:43 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    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 install

    For installing directly to a webserver you can do:

    perl Makefile.PL WEBSITE_DIR=/path/to/mysite
    make
    make test
    make install

    And the files will be copied to the right place.

    OPTIONS

    Required

    package_dir=/path/to/package

    Path to your package; defaults to current directory if not given.

    make_bin=nmake

    Name of your 'make' command; defaults to 'make' if not given.

    Optional

    keep_dir=yes/no

    Whether to keep the directory we use to create the CPAN package; defaults to 'no'.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    CPAN distribution | package manager | Perl module | CPAN | distribution | OpenInteract

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM