http://qs1969.pair.com?node_id=470417


in reply to Favourite One-liners?

% perl -MCPAN -e shell

Update: Thanks, BDF. Tidbits like this are why I hang around PM.

Replies are listed 'Best First'.
Re^2: Favourite One-liners?
by brian_d_foy (Abbot) on Jun 28, 2005 at 04:49 UTC

    Perl comes with a "cpan" script that does that for you so you don't have to do all that typing. You can also use it just to install modules quickly:

    cpan Foo::Bar Baz Quuz::Frob
    --
    brian d foy <brian@stonehenge.com>