MiniVend Akopia Services

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

setting scratch variables in embedded perl



******    message to minivend-users from Kyle Cook <kyle@invisio.com>     ******

mv 3.11

I am trying to set a scratch variable ncount and
recall it latter in the page. The following displays
27 for the first line but nothing on the second line.
This is just a simplified version of what I am trying
to do, eventually I will expand this code to rotate
through the "new stock" items and I have the rest
figured out, but need to get the following to work.

[perl]$Safe{'scratch'}{'ncount'} = 27;[/perl]<br>
[scratch ncount]<br>


Any ideas out there?

Thanks in advance.

Kyle Cook 
http://www.invisio.com 
Web site design, database driven sites,
and shopping cart programming. 
Great sites, value priced!

-
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: