http://qs321.pair.com?node_id=347618

I just found out that the often-used command
perl -MCPAN -e "install Module::Name"
should really be written
perl -MCPAN -e "install 'Module::Name'"
Why? Just try to install LWP::UserAgent...

Replies are listed 'Best First'.
Re: perl -MCPAN -e install
by Tomte (Priest) on Apr 23, 2004 at 16:00 UTC

    See can't install URI from CPAN for an explanation and another "case-study" :).

    I guess there will always be someone bitten by implicit constructs...

    regards,
    tomte


    An intellectual is someone whose mind watches itself.
    -- Albert Camus

Re: perl -MCPAN -e install
by Stevie-O (Friar) on Apr 24, 2004 at 02:44 UTC
    perl -MCPAN -e 'install +LWP::UserAgent'
    ;-)

    Actually, doing that eliminates the need for quoting:

    perl -MCPAN -e install+LWP::UserAgent
    --Stevie-O
    $"=$,,$_=q>|\p4<6 8p<M/_|<('=> .q>.<4-KI<l|2$<6%s!<qn#F<>;$, .=pack'N*',"@{[unpack'C*',$_] }"for split/</;$_=$,,y[A-Z a-z] {}cd;print lc
Re: perl -MCPAN -e install
by bl0rf (Pilgrim) on Apr 24, 2004 at 02:04 UTC
    From the amount of bitterness in your post it shows that you had a mighty unpleasant time with this problem :-). I feel your pain.

A reply falls below the community's threshold of quality. You may see it by logging in.