Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
jkva dusts the floor
[karlgoethebier]: Totally OT but my pleasure: Next week i'll have my first archery lesson.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2017-10-20 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (260 votes). Check out past polls.

    Notices?