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

Re: [ic] ncheck_category, AllowGlobal, response


JT Justman wrote:
Just installed a 'standard' cat for the first time in a couple of years.
I enabled AllowGlobal for the cat, and configuration fails with:

Bad Sub 'ncheck_category': Global symbol "$o" requires explicit package
name at (eval 447) line 16, <CONFIG> line 524.

The line in question being:

if (($o = $Search->{''}) && @{$o->{mv_results}})

I suppose AllowGlobal changes the way this code is eval'ed, yes? I don't
see a neat way to keep this as a one-liner.

Now I understand AllowGlobal is not encouraged. I have actionmaps which
use ::response($output) to deliver non-HTML content, which seems to want
AllowGlobal. Is there a preferred alternative for this type of thing?

Use $Tag->deliver().

Regards
	Racke


--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


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