NAME
MiniPAN - A minimalistic installer of CPAN modules for the iPhone
VERSION
Version 0.01
SYNOPSIS
use MiniPAN;
my $module = new MiniPAN('Some::Module');
$module->fetch();
my @deps = $module->config();
$module->install();
METHODS
new
my $module = new MiniPAN('Some::Module');
Creates a new MiniPAN object, takes the module name as a single argument.
fetch
$module->fetch();
Fetches and extracts the module source from CPAN mirror.
config
my @deps = $module->config();
Runs the configure script (currently only modules with Makefile.PL and Build.PL supported) and returns dependencies as an array.
install
$module->install();
Compiles (if needed) and installs the module with sudo, so you need to have sudo installed.
BUGS
Please report any bugs or feature requests to bug-minipan at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MiniPAN. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
TODO
* (!) implement a much nicer way of recursive dependency installation * refetch module list if it is older than a certain period * use perl modules for fetching and uncompressing * more verbosity via flag
SEE ALSO
minipan, CPAN
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc MiniPAN
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
AUTHOR
Tobias Kirschstein, <mail at lev.geek.nz>
COPYRIGHT & LICENSE
Copyright 2008 Tobias Kirschstein, all rights reserved.
This program is released under the following license: BSD