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

[MacPerl-Scribes] Re: Using MacPerl for CGI Programming



What I have done -re- the issue of CGI (the interface) vs CGI script 
(the program) is create a new version of my column where I have 
replaced most instances of CGI with CGI script.  It can be found at:

http://tyrosine.biomedcomp.com/MacPerl/cgi_prog2.html

(Links to everything can be found at:
http://tyrosine.biomedcomp.com/MacPerl/homepage.html)

Unfortunately, as I was making this change, I kicked open a can of 
worms.  In the section:

"The inability of Mac OS to run multiple copies of MacPerl"

...I feel that I am on thin ice, do mostly to my lack of 
understanding of how the running of multiple Perl scripts is handled 
by *nix (Linux, in my case).
I *think* what happens is that you have two different copies of perl 
in memory at the same time to run the two different scripts, but I 
haven't been able to figure out how to be sure of that.

Further, as is apparent to readers of MacPerl-WebCGI, the issue of 
multiple simultaneous CGIs is confusing, at least as I explain it. 
(The confusion is caused by the stand-alone nature of the CGI 
mini-applications that MacPerl uses; you can have a bunch of those 
running at one time just so long as two of them don't invoke MacPerl 
at the same time.)

I rewrote this section mostly to deal with the latter issue, but 
trying to skate carefully around the former.  Any feedback on that 
would be most welcome!

Amusing to note that I have gotten lots of wonderful suggestions on 
language, but no comments on content despite the fact that I am a tad 
unorthodox in a few places :-)

-David-
David Steffen, Ph.D.
President, Biomedical Computing, Inc. <http://www.biomedcomp.com/>
Phone: (713) 610-9770 FAX: (713) 610-9769 E-mail: steffen@biomedcomp.com

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