[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] [perl] and $Safe{'session'}->{arg}
****** message to minivend-users from Dan Busarow <dan@dpcsys.com> ******
On Fri, 7 Jan 2000, Ken Berland wrote:
> I'm trying to access [data session arg] from a [perl] tag. Why doesn't
> this work?
>
> [perl]
> my($foo)=$Safe{'session'}->{arg};
> "foo is $foo<BR>";
> [/perl]
This has always worked for me
[perl arg=scratch]
$a = tag_data('session', 'arg');
...
stuff values into scratch vars here
...
[/perl]
Dan
--
Dan Busarow 949 443 4172
Dana Point Communications, Inc. dan@dpcsys.com
Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
-
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