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

[cgiapp] critical bug in 'import' of CGI::App 3.21


Hello,

This is not something I'm happy to announce, but I found a critical bug
in CGI::App 3.21, and I'd like some help in addressing it. If you haven't
upgraded yet, don't. :)  The issue is with the 'new import' routine-- it's
not completely backwards compatible as it turns out. After upgrading, I get
messages like this in my logs:

'Global symbol "$DBH" requires explicit package name '

...and internal server errors in the browser. The workaround is 
simple: Downgrade, comment out the "import" routine, or perhaps simply
not using global variables will work.

I'm not sure how to best the code that restores the old import/export
functionality while supporting the new Carp related feature. Patches
appreciated there.

Also, I'm still thinking about the best way to write a test for this. 
I'll keep tinkering with that.

Hopefully we can  get this resolved soon. 

In the meantime, it's possible you could catch me on IM as 'markjugg'. 

	Mark


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.