[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] Lost in Perl
****** message to minivend-users from Chris Rapier <rapier@psc.edu> ******
I'm not exactly a newbie when it comes to perl but using it with
minivend is confusing and frustrating me.
Consider the below code
[item-list]
[perl tables="products"]
$price = $Values->{price};
return "The price is $price<BR>";
[/perl]
[/item-list]
It seems to me that this should return the prices of all of the items
currently in the cart. Unfortunately $price always ends up being null.
Am I missing something here?
Oh, and products is defined as a table in the catalog.cfg and another
[item-list] loop is returning the information so I know something is in
the cart.
Aside from that I just don't know what is going on.
-
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