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

Re: [MacPerl-WebCGI] "flock" question



At 4:47 PM -0800 11/20/99, Nicholas G. Thornton wrote:
>I'm by far not a master on this (if you'd like to correct me I'd be 
>honored), but I know there are certain standard Perl commands that 
>aren't implimented in MacPerlbecause they simply don't apply to the 
>MacOS. One example being @ARGV and some commandline stuff (being as 
>mac doesn't have a commandline). I seem to recall flock being one of 
>the commands that doesn't work.
>
>Be that your problem then the problem is in MacPerl and the MacOS. 
>Thus beginning to shed light on why Chris Nandor says MacPerl and 
>cgi don't mix all to well.
>
>le meas,
>--Nick


Not sure about the flock (I don't think it works) but @ARGV does 
work.  I use it all the time in droplets to get the paths/filenames 
of files dropped on top of the droplet.

Oh and I agree about the cgi's on Macs.  I eventually ended up 
installing linux on a cheap used Umax box I got to test my cgi's as 
the Mac really didn't handle multiple simultanenous cgi requests very 
well.  Nice thing is if I screw something up it's usually just a 
matter of killing the perl process and restarting http daemon  rather 
than rebooting like on the Mac.

Kevin


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