in reply to Re^3: Exporter problem
in thread Exporter problem
qw($FindBin::Bin LIB) doesn't interpolate. It's equivalent to ('$FindBin::Bin', 'LIB'), which means you specified the literal string '$FindBin::Bin' instead of the value of the variable.
You probably meant
use lib "$FindBin::Bin/LIB";
presuming the LIB directory is a subdirectory of $FindBin::Bin (i.e. the directory from where script was invoked).
See also Quote and Quote-like Operators.
|
|---|