Johan Vromans wrote:
You mean, you are going to pass things like STDOUT, STDERR, ENV and so on, to every function that may use them? [1] Global things are intended to be global, I'd say.
This is why code using CGI.pm is so hard to wrap, too. Assumptions that globals will always be globals. Then you go and try and do anything vaguely re-entrant and it all falls to pieces. Sam.