[ic] Cart programming question

Mike Heins interchange-users@interchange.redhat.com
Sun Mar 17 14:08:01 2002


Quoting Steffen Dettmer (steffen@dett.de):
> Hi,
> 
> thank you for your very quick reply! And this on a sunday! Thank
> you very much!
> 
> * Mike Heins wrote on Sat, Mar 16, 2002 at 16:02 -0500:
> > Quoting Steffen Dettmer (steffen@dett.de):
> > * Mike Heins wrote on Thu, Feb 14, 2002 at 14:32 -0500:
> > > If you want to use embedded Perl with safe, it is OK to do
> > > 
> > > [try]
> > >     [calc]
> > > 	$Carts->{main} = <<'EOF';
> > > [data table=group_carts column=content key=cart_id]
> > > EOF
> > >     [/calc]
> > > [/try]
> > 
> > This should actually be:
> > 
> > 	$Carts->{main} = 
> > 	 [data table=group_carts column=content key=cart_id]
> > 	;
> 
> Again, this leads to: 
> 
> Can't use string ("[{"price_group" => "general","mv") as an ARRAY
> ref while "strict refs" in use at
> /usr/local/interchange-4.8.2/lib/Vend/Interpolate.pm line 1268.

It won't do that if the string is formatted properly.

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

"Laughter is inner jogging." -- Norman Cousins