ryan has asked for the wisdom of the Perl Monks concerning the following question:
For a normal CGI I would do the following and it would interpret any SSI tags in whatever the script outputs before it goes to the browser:
When I try this in a CGI::Application module it reports errors about file handles such as:use CGI::SSI (autotie => STDOUT);
I'll be the first to admit I don't know how CGI::Application handles STDOUT, or what filehandle it uses to do it's magic, do I need to autotie it to some other special file handle? I've had a look through the source for any clues, but it is beyond me. Can anyone suggest how I could achieve this or if I'm wasting my time trying?Failed to copy the filehandle (ATRACK::STDOUT): Invalid argument at /u +sr/share/perl5/CGI/SSI.pm line 74.
Thanks,
Ryan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: autotie CGI::SSI to CGI::Application output
by ryan (Pilgrim) on Feb 13, 2003 at 05:14 UTC |