Hello Daniel,

Wednesday, December 12, 2001, 11:31:13 PM, Daniel Falkenberg wrote:
> # install my favorite programs if necessary:
> for $mod (qw(Net::FTP MD5 Data::Dumper)){
>   my $obj = CPAN::Shell->expand('Module',$mod);
>   $obj->install;
> }

> I recieve the following error...

> Can't locate object method "expand" via package "CPAN::Shell" (perhaps
> you forgot to load "CPAN::Shell"?) at ./test

> Does this mean I need to install expand.PM???

i haven't used any of the CPAN modules in a script, but the error
message could be a pointer. did you forget to load "CPAN::Shell"?

ie, use CPAN::Shell


-- 
Best Regards,
Daniel                                 [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to