X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FFindBin.pm;h=4bfc098f1e5d225a4e33023505bba7aa95094ba6;hb=84dc3c4daae48410e767ac41da148ac5c6c45446;hp=ecfa3005b22ed8b86074de5f8a6b19e760adb503;hpb=6f84cdf987838c544bcd95f51ff8d4f3ef90f529;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/FindBin.pm b/lib/FindBin.pm index ecfa300..4bfc098 100644 --- a/lib/FindBin.pm +++ b/lib/FindBin.pm @@ -28,7 +28,7 @@ directories /bin and /lib and then the above example will allow the use of modules in the lib directory without knowing where the software tree is installed. -If perl is invoked using the -e option or the perl script is read from +If perl is invoked using the B<-e> option or the perl script is read from C then FindBin sets both C<$Bin> and C<$RealBin> to the current directory. @@ -46,7 +46,7 @@ if perl is invoked as perl filename and I does not have executable rights and a program called I -exists in the users C<$ENV{PATH}> which satisfies both -x and -T then FindBin +exists in the users C<$ENV{PATH}> which satisfies both B<-x> and B<-T> then FindBin assumes that it was invoked via the C<$ENV{PATH}>. Workaround is to invoke perl as