At 12:00 PM -0400 7/12/98, andrew m. mckenzie wrote: >I am attempting to move a Unix Perl script (I know, one thousand time >before...) to a Mac server running WebTen. I do not have total access to >the box, and thus, in one of the scripts I am using, I make reference to >the absolute path of the CGI-BIN - but I can't telnet into said box, as >that capability is turned off/unavailable, and therefore can't use "pwd" or >similar to identify the path. is there a way to do this without the >conventional Unix tools? WebTen uses its own perl, not MacPerl. Also, chomp($dir = `pwd`); gets you the current directory under MacPerl. You can use the Cwd module, which should be more reliable, and more portable. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch