[Edinburgh-pm] @INC and do EXPR use

Murray perl at minty.org
Tue Oct 16 01:19:37 PDT 2007


or setting the PERL5LIB environment variable.

also "perldoc -f do" sayeth:

  Note that inclusion of library modules is better done with the "use"
  and "require" operators, which also do automatic error checking and
  raise an exception if there's a problem.

I believe "use" is generally preferable over "require".

More information about the Edinburgh-pm mailing list