8.84 FindBinFinds the full path to a script's bin directory, letting you use relative paths to that directory without needing to know the actual location: or:use FindBin; use lib "$FindBin::Bin/../lib"; FindBin exports the following variables:use FindBin qw($Bin); use lib "$Bin/../lib";
If you invoke Perl with the
-e
option or read the Perl script from
STDIN, then FindBin sets both Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|