[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-Toolbox] Determining a full path to the current folder



On 12/9/99 3:27, Chris Nandor wrote:

>>I want to determine the full path to the folder in which a MacPerl
>>application resides, and has just been launched.
>
>$ENV{MACPERL} gives exactly that.

or 

>  use File::Basename;
>  $folderPath = dirname($appPath);

Ha, ha, ha, hee, hee, hee, ho, ho, ho, arr %$#@!  I think I need more 
sleep.  Talk about missing the blatantly obvious.

Nonetheless, it was an interesting excursion onto Mac::Processes, and 
I've no doubt that what I learnt along the way will come in useful 
(someday).

Thanks.

Henry.

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-toolbox-request@macperl.org