Locate directory of original perl script
Locates the full path to the script bin directory to allow the use of paths
relative to the bin directory.
This allows a user to setup a directory tree for some software with
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
'STDIN' then FindBin sets both 'Bin()' and 'RealBin()' return values to the
current directory.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.2/perl-FindBin-Real && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
FindBin-Real-1.05.tar.gz | 0000004529 4.42 KB | |
perl-FindBin-Real.changes | 0000000312 312 Bytes | |
perl-FindBin-Real.spec | 0000002182 2.13 KB |
Latest Revision
Ludwig Nussel (lnussel)
committed
(revision 4)
vrev freeze
Comments 0