[cgiapp] bug report: 'make test' fails when $HEADERS_ONCE of CGI.pm globals modified

Ron Savage ron at savage.net.au
Mon Jul 7 19:06:38 EDT 2008


Hi Rhesa

> > Alternatively, we could force lots of CGI.pm globals back to their
> > default state in state in the test suite. 
> 
> That would be a maintenance hazard.
> 
> I'd probably opt for recommending against hacking up CPAN modules, and to use 
> the documented ways of customizing behavior. Altering package globals is a 
> great way to produce unwanted action at a distance, and we all know how evil 
> that is.

It gets worse. What about people who have deliberately changed globals,
and whose code would start to fail if you unilaterally forced those
globals back to some (alleged) default value under certain conditions.

So, nope, not our problem.

-- 
Ron Savage
ron at savage.net.au
http://savage.net.au/index.html




More information about the cgiapp mailing list