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

Re: [MacPerl] How do you... solve the pathname problem?




 > How do you... solve the pathname problem?

I always define them as a global constant at the top of my scripts. e.g.

...
#-- inputs--
my $filePath = "hardDrive:thisFolder:thisFile";
my $outOutputFilePath = "hardDrive:thatFolder:thatFile";

#-- subroutines --
...

 Xah, xah@best.com
 http://www.best.com/~xah/PageTwo_dir/more.html
 Mountain View, CA, USA