Perl simple usage

From D3xt3r01.tk
Jump to navigationJump to search

What

Trying to explain basic perl usages.

HOW

This is how you update CPAN in case there's a new version:

 # perl -MCPAN -e install Bundle::CPAN

This is how you get a perl shell

 # perl -MCPAN -e shell

This is how you install a package

 # perl -MCPAN -e 'install package'

Setting force install variable

 > s conf force 1