As a follow-up from my earlier post in which I wrote: >Peter R. Wiley wrote: >> print *STDOUT $line; >Disclaimer/ignorance paragraph: I don't much about MacHTTP. STDOUT >is implicit in print statements, and I don't think you need the '*' >(in fact, I don't have time to look this up right now, but what >_does_ *STDOUT do? Filehandles can be referenced with '*', but I'm >not clear why one might want a ref to STDOUT). > OK, so I had a chance to refresh my memory of where I've seen *STDOUT, so what I said above earlier today can be clarified: First STDOUT is the default "file" for printing , so a print statement with no filehandle goes to STDOUT, as I said. BUT, the default may be set to something else using select(), so if one wants to be sure of printing to STDOUT, then it should be included, a la: print STDOUT "Hello world.\n"; \*STDOUT is a reference to STDOUT. Note the '\' , which is what makes a reference to the filehandle typeglob *STDOUT. This might be used within subroutines that require filehandles to be held/manipulated in variables. So unless the code in your original message was from within a subroutine, lose the *STDOUT. And unless you change the default print filehandle, just use print "[your_output]"; to send output to the web server. Hope this helps; it might have gotten away from your basic question about configuring MacHTTP, but its hard to know where the problem comes from without more specifics, and what you offered was code that seemed problematic, so that's what I responded to. :-) 1; - Bruce __Bruce_Van_Allen___bva@cruzio.com__Santa_Cruz_CA__ ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org