Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Search and Copy a filepath

by mickeyn (Priest)
on Nov 01, 2006 at 05:28 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://581627]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-19 03:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found