[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Variables in UserTags and/or external scripts called from UserTags
Hey--
A silly question here... I have a UserTag that consists of a small
Perl script, and I want to know how I can get variables into it. Namely,
it's for a script that displays an index of available product categories,
but there is more than one page worth, so it needs to be able to pass a
"page" variable to itself... i.e. the "next page" button takes you to the
next page, the "previous page" button to the previous page. I've tried all
sorts of things... $env{'page'} does not work... cgi-lib.pl seems useless,
as I can't get it to work with the thing, so I can't use the old
"&ReadPArse; $pagenum = $IN{'page'};" trick... @@page@@ merely causes a
screwup (namely, the UserTag breaks, and its name ([usertagname]) is
displayed instead of the output)....
How can I use variables in this tag? :(
JF