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.
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/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 |
Revision 5 (latest revision is 9)
Stephan Kulow (coolo)
committed
(revision 5)
replace license with spdx.org variant
Comments 0