MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Using variables in [data ...] statement



******    message to minivend-users from Mike Lerley <mike@bfent.com>     ******

I have been trying to use perl variables in a [data] statement but it's
not working for me.  Is it designed to do this or do I need to find
another approach?  I try something like:

[perl interpolate=1]
$sku="12345";
[data albums small $sku]
[/perl]

But I get no output and in error.log, "Bad data: albums small $sku"
(rather than "albums small 12345")

Obviously I have greater plans than the perl snippet above.  Please
help!
-mike
-- 
Mike Lerley, Technical Systems Administrator
Goold Health Systems
24 Stone Street
Augusta, ME 04330
Email mike@bfent.com
Phone (207) 622-3298
Fax   (207) 623-5125

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS$/CM d- s:+ a-- C++++ UL++++U+CA+ P++++$ L++++
E--- W+++ N !o K- w--- !O M-- V PS PE++ Y PGP- t+ 5+
X+++ R- tv+ b+ DI++ D++ G e++ h--- r+++ y+++
------END GEEK CODE BLOCK------
http://www.ebb.org/ungeek/
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: