diff options
author | Gisle Aas <aas@bergen.sn.no> | 1996-09-20 15:04:04 +0200 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-09-20 15:04:04 +0200 |
commit | d7791a8474c2259ad990dbb01fe76104ae5cabd8 (patch) | |
tree | 14d5550e35907451eb29faa6ee32220352bf9663 /lib/FindBin.pm | |
parent | 30c5452436ffebadaf1729c8166697074e67a6e9 (diff) | |
download | perl-d7791a8474c2259ad990dbb01fe76104ae5cabd8.tar.gz |
Documentation patch to the FindBin module
Diffstat (limited to 'lib/FindBin.pm')
-rw-r--r-- | lib/FindBin.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/FindBin.pm b/lib/FindBin.pm index 242ea5f57b..45d9e33341 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 |