[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Cart programming question
* Mike Heins wrote on Sun, Mar 17, 2002 at 14:06 -0500:
> Quoting Steffen Dettmer (steffen@dett.de):
> > 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.
Why that? The perl manual pages are pretty clear about it. In
strict refs, strings are only treated as scalars and cannot be
dereferenced. The Data::Dumper manpage suggests also to "eval"
the string data to get a real reference.
oki,
Steffen
--
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.