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

Re: [MacPerl] locating files in @INC



> Howdy,
> 
> >=================================
> >require "./html_web_store.setup";
> >=================================
> 
> Use absolute paths here. I think the current working directory for a 
> script on the Mac is the location of the MacPerl *interpreter*, not 
> the location of the script running. The Mac has no real concept of 
> 'current working directory'.

I've found
use Cwd;
$dir = cwd();

to work well enough for certain purposes (including libraries, for instance)- or is this
not what's meant?
-Eric
Schissel

---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/



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