[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
interpolation within [set][/set]
Hi All,
Maybe I'm missing something - I've been through the docs several times, the
mailing list archives, and what seem to be applicable modules (Data.pm and
Interpolate.pm), and cannot figure out how to make the following work:
[set PricingData][data base="prices" field="prices"
key="[item-code]"][/set]
[scratch PricingData]
What ends up being displayed is:
[data base="prices" field="prices" key="MMS-0120"]
This, however, does work:
[data base="prices" field="prices" key="[item-code]"]
Which correctly displays:
1:9.99 3:8.99 6:7.99 12:5.99
I will be using the scratch variable PricingData within [perl][/perl] tags,
so a solution for reading the data within these would work for me also.
Thank you,
Tim Shea
Valutech