![]() |
|
P is for Practical | |
PerlMonks |
Re: Search and Copy a filepathby mickeyn (Priest) |
on Nov 01, 2006 at 05:28 UTC ( #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
|
|