autobundle
`autobundle' writes a bundle file into the `$CPAN::Config-
>{cpan_home}/Bundle' directory. The file contains a list of all
modules that are both available from CPAN and currently
installed within @INC. The name of the bundle file is based on
the current date and a counter.
You can invoke it by saying:
>perl -MCPAN -e autobundle
It then starts to print out all the modules on your system,
and put them into a bundle file:
CPAN: LWP::UserAgent loaded ok
[... bla bla bla ...]
Package namespace installed latest in CPAN file
AnyDBM_File undef undef G/GS/GSAR/perl-5.6.1.ta
+r.gz
[... many such lines ...]
uri 1.04 undef L/LD/LDACHARY/URIC-2.02
+.tar.gz
vars undef undef G/GS/GSAR/perl-5.6.1.ta
+r.gz
Wrote bundle file
D:\home\.cpan\Bundle\Snapshot_2001_07_30_00.pm
Now you have a bundle file that you can edit to your needs.
Note that the order of appearance of modules matters, so
you might need to tune your bundle file to your needs.
That's how the bundle file autobundle created looks like:
package Bundle::Snapshot_2001_07_30_00;
$VERSION = '0.01';
1;
__END__
=head1 NAME
Bundle::Snapshot_2001_07_30_00 - Snapshot of installation on on Mon J
+ul 30 10:11:15 2001
=head1 SYNOPSIS
perl -MCPAN -e 'install Bundle::Snapshot_2001_07_30_00'
=head1 CONTENTS
AnyDBM_File undef
AppConfig 1.52
[... many such lines ...]
[... NOTE: these are the lines you want to edit ...]
subs undef
uri 1.04
vars undef
=head1 CONFIGURATION
[... bla bla bla ...]
=head1 AUTHOR
This Bundle has been generated automatically by the autobundle routine
+ in CPAN.pm.
Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com |