For example:
------------begin code--------- #! /usr/bin/perl -w open (TMP,">/tmp/hello.log") or die $!; print TMP "See, I did run.\n"; open(STDOUT,'>- :stdio') or die $!; print "Content-type: text/html
hello, world. "; print TMP "And I'm still running.\n"; close TMP or die $!;
-----------end code------------
This code runs, and produces output in the /tmp directory. But all I get in my browser is a blank page and a "Done."
-- Jeff Boes vox 269.226.9550 ext 24 Database Engineer fax 269.349.9076 Nexcerpt, Inc. http://www.nexcerpt.com ...Nexcerpt... Extend your Expertise