At 23.38 11/8/97, Richard Duff wrote: >I got QPQ to work!!! Now I can't get my cgi script to work though. I >wrote it with MacPerl. Do I need to save as runtime version or is it >something else? Thanks everyone for your continuous support and answers. You need to save it as "CGI Script". There should be a file called "CGI Script" in ":MacPerl Ä:MacPerl Extensions:" if you are using MacPerl 5.1.4r4; if not, you should be. :-) Other notes: > push(@INC, "/cgi-bin"); This line will not work. It uses Unix path separators, not Mac OS separators. See the Macintosh specific features help file (macperl.pod). >require "cgi-lib.pl"; You really should be using CGI.pm (it comes with complete documentation, and is in your :MacPerl:lib: directory. >open(MAIL, "|/usr/bin/Mail -s 'New registration added' rbuff\@ruraltel.net, >$email"); >print MAIL "Thank you for registering. Your password is:\n"; >print MAIL "$password.\n"; >close(MAIL); This will not work either. Even if you had a /usr/bin/Mail on your Mac, you could not open it this way on a Mac. -- Chris Nandor pudge@pobox.com http://pudge.net/ %PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10 1FF7 7F13 8180 B6B6']) #== MacPerl: Power and Ease ==# #== Publishing Date: Early 1998. http://www.ptf.com/macperl/ ==# ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch