[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-WebCGI] A basic query



on 99-11-15, Richard Smith wrote:
>Is there a way to pass a text string from one CGI script to another?

Not that I know of, except calling the appropriate URL and getting a 
response. It's certainly doable, but...

>The CGI scripts I use at the moments use a common subroutine for displaying
>errors such as illegal access, missing details, etc. The body of the script
>passes a text message to the subroutine for inclusion in the HTML output.
>Obviously, if I want to change the HTML, I have to change every script that
>uses the routine. What I want to do is make the error reporting routine a
>separate script, which receives the text from the active script and outputs
>the HTML.

I think it sounds as if you should write your own .pm file and 'use' it ;-)
Christian

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org