FindBin 5.8.8
Sponsored Links
FindBin 5.8.8 Ranking & Summary
File size:
12.2 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
901
Date added:
2007-05-09
Publisher:
Graham Barr and Nick Ing-Simmons
FindBin 5.8.8 description
FindBin is a Perl module that can locate directory of original perl script.
SYNOPSIS
use FindBin;
use lib "$FindBin::Bin/../lib";
or
use FindBin qw($Bin);
use lib "$Bin/../lib";
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 < root >/bin and < root >/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 to the current directory.
EXPORTABLE VARIABLES
$Bin - path to bin directory from where script was invoked
$Script - basename of script from which perl was invoked
$RealBin - $Bin with all links resolved
$RealScript - $Script with all links resolved
SYNOPSIS
use FindBin;
use lib "$FindBin::Bin/../lib";
or
use FindBin qw($Bin);
use lib "$Bin/../lib";
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 < root >/bin and < root >/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 to the current directory.
EXPORTABLE VARIABLES
$Bin - path to bin directory from where script was invoked
$Script - basename of script from which perl was invoked
$RealBin - $Bin with all links resolved
$RealScript - $Script with all links resolved
FindBin 5.8.8 Screenshot
FindBin 5.8.8 Keywords
FindBin
Perl Script
Perl module
locate directory
FindBin 5.8.8
can locate
Perl
script
directory
bin
original
locate
FindBin 5.8.8
Libraries
Programming
Bookmark FindBin 5.8.8
FindBin 5.8.8 Copyright
WareSeeker periodically updates pricing and software information of FindBin 5.8.8 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of FindBin 5.8.8 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
FindBin::libs - Locate and use lib directories along the path of $FindBin::Bin to automate locating modules. Free Download
perlfilter package contains Perl source filters. Free Download
B::Bytecode is Perl compilers bytecode backend. Free Download
New! Allow your web visitors to sign a petition with their real signature. Free Download
Inline::CPP is a Perl module that can write Perl subroutines and classes in C++. Free Download
allbib project is a Perl-GTK script for managing bibliographies. Free Download
Sendmail Analyzer is a Perl script reporting full HTML and graph sendmail usage reports. Free Download
evonotify is a little gtk-perl script to add panel-mail-notification. Free Download
Latest Software
Popular Software
Favourite Software