At 9:09 AM -0600 on 1/7/97, Joseph Cozad%oakq1ak wrote: }Subject: Turning MacPerl CGI's Off }I have the following lines in my cgi script: } }if($contents{'get'} eq 'quit'){ } &MacPerl'Quit(2); }} This should be: if($contents{'get'} eq 'quit'){ exit; } MacPerl::Quit does *not* quit MacPerl (something I learned the hard way), merely sets a flag telling MacPerl what to do when it hits an exit in a script. I generally put MacPerl::Quit at the *beginning* of my scripts, so I can see immediately what I've told MacPerl to do. } }Yet when I send a URL like: } }http://www.mysite.com/cgi-bin/thiscgi.cgi?quit } }the cgi and MacPerl don't quit. Why? What can I do to facilitate this? } }Joseph } } Reply To: } ------------------------------------------------------------------------- } | Joseph Cozad Motorola | } | Internet Developer 6501 W. William Cannon Dr., OE33 | } | +1 (512) 891-3939 <voice> Austin, Texas 78735 U.S.A. | } | +1 (512) 891-8775 <fax> EMAIL: jcozad@oakhill.sps.mot.com | } ------------------------------------------------------------------------- -------- Paul J. Schinder NASA Goddard Space Flight Center Code 693 Greenbelt, MD 20770 schinder@pjstoaster.pg.md.us