> >indeed it did. how silly I am not to have thought of it. > >#!/usr/bin/perl > >$dingle = `pwd`; > > print "Content-type: text/html\n\n"; > print "the path is $dingle\n"; > In a CGI context, I often use $ENV{DOCUMENT_ROOT} and $ENV{SCRIPT_NAME} to determine absolute paths on the fly. It also allows for a greater level of portability even across various web sites. For instance, some of our sites are on a shared server and we don't have access to pwd. - Alex ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch