In your case, print to STDOUT instead of the $OUT file and print the HTTP header before your output
echo "Content-type: text/plain" echo
In reply to Re: Shell to Perl conversion
by pjotrik
in thread Shell to Perl conversion
by rockmountain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |