[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: minivend->perl->eval
****** message to minivend-users from Alexander Lazic <all@gmx.at> ******
Thanks that's it ;-))
Because it's my first MV-Project and i have some problems to reorient my
opinion to minivend-Environment ;-)
al ;-)
> > my $string =<<'EOF';
> > [sql array]select refathlets,refevents,refsports,sortname from
> > products[/sql]
> > EOF
> >
> > my @arry = eval $string;
>
> If you are using the [sql] tag inside a [perl] tag, you do not need to
do
> eval yourself, because MiniVend will interpolate it for you.
>
> I am not sure, but I think you are meaning to do something like this:
>
> [perl interpolate=1]
> my @arry = qw( [sql array]select
refathlets,refevents,refsports,sortname from products[/sql] );
>
> foreach ( @arry ) {
> ... do some stuff ...
> }
>
> [/perl]
>
>
> Larry Leszczynski
---
Sent through Global Message Exchange - http://www.gmx.net
-
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