Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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?
Jar. Jar!...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2017-11-21 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (296 votes). Check out past polls.

    Notices?