On 29 Mar 1996, Robert Allen Decker wrote: > I'm new to MacPerl and so far am impressed with its power. However, I am > having a problem with a practice script I got from the book CGI Programming > by Shishir Gundavaram. > This is from his guestbook example. It requires that submitted > information be appended to a file (I call it guestbook.html). All my paths > seem to be correct. It just seems that the script can't open the file. Actually, I think they aren't. See below. [...] > $document_root = "Pod People/Pub/www/test"; > $guest_file = "/guestbook.html"; > $full_path = $document_root . $guest_file; [...] Since you're on a Mac, you have to use a Mac path, and the Mac File System uses the colon as its path separator. So, try using these instead: $document_root = "Pod People:Pub:www:test"; $guest_file = ":guestbook.html"; -Dave Big Dave Schmitt University of Md Baltimore County (__) Math major / CS minor / UCS Client Services (oo)------\ dschmi1@umbc.edu http://umbc.edu/%7Edschmi1/ \/ | \ Don't blame UMBC or UCS for the opinions stated above. ||---w|| *