stew has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I'm trying to load a bunch of modules from CPAN that were packaged using the autobundle feature

I've tried this
perl -MCPAN -e 'install Bundle::Snapshot_2004_01_08_00'
and this

cpan> i /Bundle::Snapshot_2004_01_08_00/

The snapshot is saved in my .cpan directory which I've confirmed by
cpan> o conf cpan_home cpan_home /home/root2/.cpan
But CPAN.pm keeps telling me
Warning: Cannot install Bundle::Snapshot_2004_01_08_00, don't know wha +t it is. Try the command i /Bundle::Snapshot_2004_01_08_00/ to find objects with matching identifiers.
or this
No objects found of any type for argument /Bundle::Snapshot_2004_01_08 +_00/
Any ideas?

Stew

Replies are listed 'Best First'.
Re: CPAN.pm can't find my Snapshot
by ysth (Canon) on Jan 08, 2004 at 13:57 UTC
    It should work...try turning on debug information with "o debug all".

    Update: to be more specific, do:

    cpan> o debug all cpan> b Bundle::Snapshot_2004_01_08_00
    Just to clarify, you should have the snapshot as file: /home/root2/.cpan/Bundle/Snapshot_2004_01_08_00.pm

    Is the that file there?

Re: CPAN.pm can't find my Snapshot
by eserte (Deacon) on Apr 23, 2004 at 13:08 UTC
    It seems that you have to specify an additional include path to the directory containt the bundle, e.g. perl -I/home/you/.cpan -MCPAN -e 'install Bundle::Snapshot_2004_01_08_00'