Hi Michael

> You're running into the ambiguity surrounding indirect object syntax, has 
> nothing to do with CPAN.pm.
> 
> $ perl -wle 'foo Bar'
> Can't locate object method "foo" via package "Bar" (perhaps you forgot to 
> load 
> "Bar"?) at -e line 1.
> 
> Perl thinks you're saying Bar->foo().  Use a + to disambiguate:
> 
> $ perl -MCPAN -e 'install +YAML'
> CPAN: File::HomeDir loaded ok (v0.69)
> ...
> 
> Or use the cpan script:
> 
> $ cpan YAML
> CPAN: File::HomeDir loaded ok (v0.69)
> ...

Excellent. Perhaps a trifle obscurantistic (not you, the problem :-),
but...

$many x $thanx;

-- 
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html


Reply via email to