Hello Peter

Am Samstag, 5. März 2005 23.41 schrieb Peter Rabbitson:
> What if I want it to be able to run under everything:
>
> * CGI (html output)
> * Linux tty (text only output)
> * ActivePerl (text only output + some workarounds for braindead OS)

Concerning ActivePerl under Windows I don't know
(I suppose the POSIX-Code didn't run under Windows? - maybe there is a Module 
from Activestate or on CPAN (http://search.cpan.org) ?)

Apart from that, you have to check in your output producing code the current 
invocation "kind" (sorry for my bad english / see my previous answer) and 
produce the output accordingly. 

Eventually, you could produce the output in html and then use a module wich 
strips the text from the html for text output - not the most efficient way 
though. I think the best way depends also on the complexity of the html and on 
layout requirements of the plain text output.

hope this helps a bit, otherwise somebody else could eventually provide some 
more specific help?

grettings joe

P.S.: I must admit that I'm not a specialist in platform independent code :-(

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to