Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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


Comment on Re: Finding relative path to called script
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://563808]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2015-07-30 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls