Don't ask to ask, just ask | |
PerlMonks |
Re: Search and Copy a filepathby mickeyn (Priest) |
on Nov 01, 2006 at 05:28 UTC ( [id://581627]=note: print w/replies, xml ) | Need Help?? |
you can use FindBin to find your program's path:
now you can search for relative paths starting from $Bin (e.g. $Bin/IMAGES).
HTH,
In Section
Seekers of Perl Wisdom
|
|