Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Search and Copy a filepath

by mickeyn (Priest)
on Nov 01, 2006 at 05:28 UTC ( #581627=note: print w/ replies, xml ) Need Help??


in reply to Search and Copy a filepath

you can use FindBin to find your program's path:
use FindBin qw($Bin);
now you can search for relative paths starting from $Bin (e.g. $Bin/IMAGES).

HTH,
Mickey

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2016-08-25 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (352 votes). Check out past polls.