Monday, September 2, 2013

What is the difference between "-Mlib" and "-I" option in Perl?

Theses are the ways to modify @INC without modifying the program.

The benefit of using "-Mlib=/my/module_dir" over "-I /my/module_dir" is the former automatically removes any duplicate directories while the later does not.

Wednesday, August 28, 2013

What is mod_perl?

mod_perl is the fusion of Apache and Perl which enhances a new approach to create dynamic content by utilizing the feature of Apache web server through a persistent interpreter embedded into web server. It lets you avoid the overhead of starting an external interpreter and the penalty of Perl start-up time as well.