Jean Forget > diagnostics > lib/perldiag.pod

Download:
diagnostics-1.2-alpha1.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

LIB MODULE ^

These are the error messages that can appear when using the lib pragmatic module.

Empty compile time value given to use lib

The parameter you provided was an empty string. Maybe you used a variable, but this variable is initialized at run time, yet the module needs it at compile time. You should initialize it within a BEGIN block.

Parameter to use lib must be directory, not file

The lib pragme informs perl that it can find modules in a particular directory. If you want to indicate a specific file, why not code use file?