RE: Invocation environment detection

2005-03-07 Thread Graeme St. Clair
e $^V that gives you your revision etc of Perl. I guess you could lash them all together somehow... HTH, rgds, GStC. -Original Message- From: Peter Rabbitson [mailto:[EMAIL PROTECTED] Sent: Saturday, March 05, 2005 5:42 PM To: beginners@perl.org Subject: Re: Invocation environment det

Re: Invocation environment detection

2005-03-05 Thread John Doe
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 kn

Re: Invocation environment detection

2005-03-05 Thread 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) (Sorry, forgot to CC) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Invocation environment detection

2005-03-05 Thread John Doe
Am Samstag, 5. März 2005 19.48 schrieb Peter Rabbitson: > How would I implement a simple detection mechanism, to be able to run the > same script from he commnd line and from cgi, having the script behave > differently depending on the invocation? (e.g. change the content type and > other formattin

Invocation environment detection

2005-03-05 Thread Peter Rabbitson
How would I implement a simple detection mechanism, to be able to run the same script from he commnd line and from cgi, having the script behave differently depending on the invocation? (e.g. change the content type and other formatting stuff) Thanks Peter -- To unsubscribe, e-mail: [EMAIL PROT