[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: HELP: perl variable in a minivend tag
Thanks Larry!
This is extremely useful information and should find its way into the
new docs. Maybe under a section "advanced" or similar.
Chris
Larry Leszczynski wrote:
>
> ****** message to minivend-users from Larry Leszczynski <larryl@furph.com> ******
>
> Hi Ezra -
>
> > I think this will help alot of ppl out as it's the first i've ever seen
> > this function mentioned anywhere. Perhaps its time for me to print out
> > the source and have a nice long read ;)
>
> Here's one way to track down useful routines that might save you from
> reading the *entire* source :-)
>
> If there's a MiniVend tag that does the same thing as what you want to do
> in your GlobalSub or UserTag (or does something similar), go to the
> MiniVend installed directory and look in the file
> "lib/Vend/Interpolate.pm". Generally in that file there will be a
> subroutine that handles each MiniVend tag called "tag_xxxxx", so for
> example you could look for a line like "sub tag_data", "sub tag_if",
> "sub tag_price", etc. Then you would know you could call (for example)
> Vend::Interpolate::tag_price() from your GlobalSub or UserTag.
>
> Larry Leszczynski
> larryl@furph.com
> --
> furph, Inc. WWW/Unix/Windows Solutions 734-513-7763 (voice)
> info@furph.com http://www.furph.com 734-513-7759 (FAX)
>
> -
> 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