[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Using variables in [data ...] statement
****** message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com> ******
My guess is you need to reference $sku differently... perhaps [data albums
small [value sku]] or something.
At 06:23 AM 4/22/99 , Mike Lerley wrote:
>****** 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
>
Ryan Hertz tel 520-645-3812
Webmaster tel 800-645-BAIT
Advertising Director fax 520-645-2588
Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com
-
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