At 4:16 PM -0800 3/10/99, Bruce Van Allen wrote: >>I see on CSPAN there's a CGI.pm v 2.49 available. Does anyone know >>it /that/ will do the trick? I suppose I could just download and >>install the thing myself and find out, huh? > >I think we'd have heard on the MacPerl lists if a version of CGI.pm were >finally able to handle file uploads on Mac. As it happens, I downloaded 2.49, fixed the newlines, stuck it my site_perl, and it seems to work. I admit, however, that I haven't tried to do much with it. At the very least, CGI.pm 2.49 and MacPerl /can/ pull name=value pairs from a multipart/form-data encoded stream. That's more than 2.36 could do. >Also, remember this: when you're using CGI.pm's functions to write your >HTML form, and you want it to handle file uploads, be sure to use the >function start_form_multipart() instead of plain start_form() [and check my >capitalization]... Ah, no, I encode HTML by hand, even when it's going to be output by a perl program. >- Bruce --Chris ----------------------------------------------------------------------------- Christian J. Schaller Applications Systems Analyst Lunar and Planetary Laboratory schaller@spuds.lpl.arizona.edu The University of Arizona http://www.lpl.arizona.edu/~schaller/ Tucson, AZ 85721-0077 520/621-7200 ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org