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
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/perl-FindBin-Real && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
FindBin-Real-1.05.tar.bz2 | 0000004662 4.55 KB | |
perl-FindBin-Real.changes | 0000000173 173 Bytes | |
perl-FindBin-Real.spec | 0000002175 2.12 KB |
Revision 3 (latest revision is 9)
Adrian Schröter (adrianSuSE)
committed
(revision 3)
Comments 0