Home | Wiki | OI 1.x Docs | OI 2.x Docs OI logo

NAME

OpenInteract2::Manage::Package::Export - Export a package into a portable format

SYNOPSIS

 #!/usr/bin/perl
 
 use strict;
 use OpenInteract2::Manage;
 
 my $package_dir = '/home/me/work/pkg/mypkg';
 my $task = OpenInteract2::Manage->new(
                      'export_package', { package_dir => $package_dir } );
 my ( $status ) = $task->execute;
 print "Exported ok? $status->{is_ok}\n",
       "Filename:    $status->{filename}\n",
       "Package:     $status->{package}\n",
       "Version:     $status->{version}\n",
       "$status->{message}\n";

DESCRIPTION

This task simply wraps up a package for portable transport. Note that this version of OpenInteract uses .zip files instead of .tar.gz files. (This is mainly because of the older and slightly interface-incompatible version of Archive::Tar shipped with common Win32 distributions.)

STATUS MESSAGES

A single status hashref is returned. In addition to the default entries it includes:

COPYRIGHT

Copyright (c) 2002-2003 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

Chris Winters <chris@cwinters.com>

Generated from the OpenInteract 1.99_03 source.


Home | Wiki | OI 1.x Docs | OI 2.x Docs
SourceForge Logo