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

Re: [MacPerl] UNIX CGI pointers and info



At 7:27 PM 1/8/96, Giles Francis Hall wrote:
>At 05:50 PM 1/8/96 -0500, you wrote:
>>Hello everybody,
>>        I know this isn't the perfect forum to ask for pointers to PERL CGI
>>examples and texts/info about writing CGIs in PERL, but I thought I'd give
>>it a try. Thanks in advance.
>For UNIX? Your best bet would be to look at some of the examples at
>http://www-genome.wi.mit.edu/WWW/.  The site is more or less a pitch for
>their book (How to setup a Web Site better then a Kangaroo or sumthin like
>that).  But, for the CGI stuff (Which is all written in Perl) it has all the
>source and explinations.  It's a -very- good site with pointers to other
>resources as well.
>
>I used it to help my Cern box which is a "porn block" for our High School.
>Whee, but I writting a "porn seeking bot" in Perl.

And I doubt your school would be willing to share it with us?
(I fail to see the connection - a CERN box acting as a porn block using
CGI's?  How is this possible?  I just don't see how a CGI could act as a
porn sniffer to block connections to known porn sites!)

But that bot - you should really graduate before you complete that...

>Speaking of which, someone should port libwww/libcgi for Unix perl to
>MacPerl.  Just a thought.
>

Haven't, becuase (no offense Matthias), but MacPerl just isn't good enough
to be a CGI.  Way to slow, and it can only handle _1_ script at a time.
Unlike on UNIX, where there can be multiple perl's running at a time, on
the mac only 1 can be running.  Thus, it takes a long time.  Also, Web*
(the mac server), is slow sending data back and forth, etc...

Take a look at:
http://www.hths.mcvsd.k12.nj.us/

You'll see how slow it is.  Then entire site is fed though a MacPerl script
(which I wrote), and well, Perl is missing some stuff in there too.
Wouldn't be a hard port, just not worth it (in my opinion).  Besides, I
learned how to do all that work by hand.


Shawn.

######################################################################
#  In Jersey: The Digital Information Network of the Garden State    #
#      Freelance HTML/Graphics/Programmer                            #
######################################################################
#                                                                    #
# http://nj5.injersey.com/~spearce/  ###  http://www.injersey.com/   #
######################################################################