Perl simple usage

From D3xt3r01.tk
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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