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

Re: [cgiapp] tmpFileName method in CGI::Simple


On Tue, 2005-04-26 at 01:33, Wojciech Pietron wrote:
> Yes, I like it too. The reason I do not use CGI is its unresolved bug
> mentioned by Mark Stosberg on cascade-dataform list
> http://sourceforge.net/mailarchive/message.php?msg_id=7275077
> and CGI list:
> http://groups.google.com/groups?selm=83ca080.0402281631.368cd433%40posting.google.com

Sorry about the off topic post but I'm not subscribed to
cascade-dataform and haven't actully used DFV yet myself.

I was going over the archive messages and the following in the message:

http://sourceforge.net/mailarchive/message.php?msg_id=7292541

>  At this point, I"m also suspecting it"s a CGI.pm issue. The extra
>  "unknown" fields indicate that it"s actually producing different output
>  with the same input. Although I recall making a test that just involved
>  CGI.pm, and I couldn"t reproduce it. I have a question about this
>  pending on the CGI newsgroup now as well.

The extra "unknown" fields indicate to me that DFV is treating the CGI
object as a hashref for some reason. Could someone that is using DFV try
changing the line in _get_data() that reads:

      if (UNIVERSAL::isa($data,"UNIVERSAL") ) {

to something like:
      if (ref($data) ne 'HASH') ) {

Now the problem is if this fixes the problem with DFV I'm at a loss as
to why it would.

-- 
Tony Fraser
suppressed
Sybaspace Internet Solutions                        System Administrator
phone: (250) 246-5368                                fax: (250) 246-5398


---------------------------------------------------------------------
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.