in reply to Re: Re: framechat
in thread framechat
what do you get when it doesn't work? I guess for max portability, you'd probably want a combo of your and my fix, I was just trying to avoid assuming ENV{TEMP} was valid (as mine wasn't ;-).use strict; $ENV{TEMP} = "goo go"; my $temp = $ENV{TEMP} || "/tmp"; print "t $temp\n";
I understand $content is used in 3 places, but isn't it being filled in each time by makelinks? If one sub were filling it in (beside makelinks) and another needing access, global, but it appears its used 'locally' each time it has data in it. A style quibble, really, I just was trying to figure out the array bug and had to poke a bit deeper to see makelinks was filling in $content. It appears, w/ data, by 'magic' otherwise.
Expat.pm is 2.29, I'll try upgrading things to see if that's the trouble. Huh. Perhaps this ver returns an array ref instead of a string?
Update: upgraded to Parser 2.30 - same stuff. Both the array ref and the XML as ref problem. I'll keep poking - perhaps a debug box where we could see the xml as it arrives?
Update 2:Hmm. If I turn off 'fatalsToBrowser' no complaints and it appears the complaint is from Expat doing an eval around:$ioref = *{$arg}{IO}; where $arg is the incoming xml. I gather its supposed to die ($@ is my error msg) but why this floats up to cgi::carp for me and not you ???
a
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: framechat
by tye (Sage) on Mar 15, 2001 at 05:17 UTC | |
by tye (Sage) on Mar 15, 2001 at 20:35 UTC | |
by merlyn (Sage) on Mar 15, 2001 at 21:14 UTC | |
by tye (Sage) on Mar 15, 2001 at 21:41 UTC | |
by chromatic (Archbishop) on Mar 19, 2001 at 10:24 UTC | |
Re: Re: Re: Re: framechat
by epoptai (Curate) on Mar 15, 2001 at 13:52 UTC |