Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Finding relative path to called script

by mickeyn (Priest)
on Jul 26, 2006 at 14:46 UTC ( #563808=note: print w/replies, xml ) Need Help??


in reply to Finding relative path to called script

try:
use FindBin qw($Bin);
$Bin is now your script's path.

Enjoy,
Mickey

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://563808]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-12-18 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (494 votes). Check out past polls.

    Notices?