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

[ic] ncheck_category, AllowGlobal, response


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?

Thanks,

JT

-- 
Web:    http://www.signless.com
E-Mail: suppressed
Cell:   (541) 543-4888
Skype:  jt.justman
_______________________________________________
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.