in reply to can't install URI from CPAN

'install URI' collides with one form to call a method in perl, what happens here, shows '-MO=Deparse' (Thanks and ++ to jeffa for pointing this out in the undef var thread, a new tool in my ever growing perl-box):

~> perl -MO=Deparse -MCPAN -e "install URI::URL" use CPAN; 'URI::URL'->install; -e syntax OK
and, as is often the case, a unary + corrects the compilers perspective:
~> perl -MO=Deparse -MCPAN -e "install +URI::URL" use CPAN; install('URI::URL'); -e syntax OK

regards,
tomte


Hlade's Law:

If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.