From: Gisle Aas Date: Fri, 20 Sep 1996 13:04:04 +0000 (+0200) Subject: Documentation patch to the FindBin module X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d7791a8474c2259ad990dbb01fe76104ae5cabd8;p=p5sagit%2Fp5-mst-13.2.git Documentation patch to the FindBin module --- diff --git a/lib/FindBin.pm b/lib/FindBin.pm index 242ea5f..45d9e33 100644 --- a/lib/FindBin.pm +++ b/lib/FindBin.pm @@ -11,12 +11,12 @@ FindBin - Locate directory of original perl script =head1 SYNOPSIS use FindBin; - BEGIN { unshift(@INC,"$FindBin::Bin/../lib") } + use lib "$FindBin::Bin/../lib"; or use FindBin qw($Bin); - BEGIN { unshift(@INC,"$Bin/../lib") } + use lib "$Bin/../lib"; =head1 DESCRIPTION