> use File::Copy;
> copy "header.incl", \*STDOUT;

I like this, it's very clean.

Unfortunately I'm having trouble using it in a cgi script...

**************************************
#!/usr/bin/perl -w
use File::Copy;

print "Content-type: text/plain\n\n";

copy "header.incl", \*STDOUT;
print "More stuff goes here\n";

**************************************

Apache calls this an "Internal Server Error", though it works fine from the
command line.  And scripts without the copy seem to work fine.  Any idea
why?

TIA.

- Bryan



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to