Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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


Comment on Re: Search and Copy a filepath
Download Code

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 cooling their heels in the Monastery: (5)
As of 2014-12-19 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls