[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Terminating MacPerl after a Droplet



On 03/19/2000 at 9:07 AM, steffen@biomedcomp.com (David Steffen) wrote:

> Shai Spharim asked:

[snip]

> Add the line:
> 
> MacPerl::Quit(3);
> 
> ....somewhere in your script where it will run (e.g. near the top), 
> and MacPerl will quit after running the CGI if it is the first 
> program run by MacPerl, but not if you have previously run another 
> program with MacPerl.  Thus, you can open MacPerl, do nothing, and 
> run the droplet and MacPerl will quit (not what you asked for). 
> However, if you open MacPerl, run ANOTHER script, then run the 
> droplet, MacPerl will NOT quit.  (It will also quit if MacPerl wasn't 
> open at all when you run the droplet.)
> 
> Documentation on MacPerl::Quit() (there are other options) is in the 
> file macperl.pod which comes with the MacPerl distribution (readable 
> with the included shuck program) and is covered in Chapter 12 of 
> "MacPerl Power and Ease".

Sorry, I missed Shai's second requirement.  David's answer is the correct one.

It's MORNING, and I haven't only *not* had my coffee, but got defacto mailbombed
from a spammer (Yup, hit my virtual POP3 (upside, I've got complete
documentation of every stinking little turdlet)). My apologies for being out of
sorts.

--B

Brian McNett, Webmaster/MacPerl Guru
*************************************************************
Mycoinfo. The world's first mycology e-journal.
http://www.mycoinfo.com/
*************************************************************



# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org