I'm almost embarrassed to ask this question, it seems so obvious: Is there a way to pass a text string from one CGI script to another? 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 can do this locally, by having the main script generate a temporary text file, then using a 'do' to run the error routine, which opens the same text file and prints the contents. However, this is not an very good solution online. Though the chances of two or more simultaneous users generating an error are remote (my site doesn't get the traffic), 'in a curved universe, all things are possible', and I would rather be safe than sorry. Does anyone have an ideas? Thanks, Richard -- ________________________________________ Richard Smith Artist/ Illustrator/ Site Designer Visit us at http://www.team-artonomy.com ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org