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.

No comments :