Re: [cricket-users] Cricket 0.66 is released

From: Jeff Allen (jra@corp.webtv.net)
Date: Tue Jun 08 1999 - 08:55:21 PDT


From: Jeff Allen <jra@corp.webtv.net>

Matthew Stier wrote:
> This patch to grapher.cgi fixes the "grapher.cgi did not produce a valid
> header (name without value: got line "bareword "interface" not allowed
> while "strict subs" in use at (eval 4) line 1.") " problem.

I agree that the following patch will solve the symptom. But I'm still
not quite certain I understand the cause enough to slap a bandaid on
it.

To all users: if you need this patch, please, by all means, use it. I
will make a decision about this for the next version and get it
solved.

The patch is included again below:

>
> *** grapher.cgi Thu Jun 3 10:27:27 1999
> --- grapher.cgi.sav Thu Jun 3 10:26:39 1999
> ***************
> *** 156,165 ****
> };
>
> my(@inst) = ();
> ! if ($needEval) {
> ! $inst =~ s/^map\((.*)\)$/map(qw($1))/;
> ! @inst = eval($inst);
> ! }
>
> if ($#inst+1 > 1) {
> # make the instance selection widget...
> --- 156,162 ----
> };
>
> my(@inst) = ();
> ! @inst = eval($inst) if ($needEval);
>
> if ($#inst+1 > 1) {
> # make the instance selection widget...

Thanks, Matthew, for looking into it and finding this workaround.

-- 
Jeff R. Allen              |  jra@corp.webtv.net
WebTV Service Engineering  |  http://www.munitions.com/~jra

------------------------------------------------------------------------ ONElist: the best source for group communications. http://www.onelist.com Join a new list today!



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:52 PST