[ic] ASP like Perl - Loop and Query why can I do both

Dan Browning interchange-users@interchange.redhat.com
Tue Dec 4 11:10:00 2001


> Im trying to do this and it just wont work
> 
> note: __TABLE_001__ is a comma separated list
> 
> [query sql="SELECT * from table001  "
>          type=list
>          list=1
>          more=1
>          ml=1000]
> 
> 
>                  [list]
>                          [perl]
>                          $Tag->loop(
>                                  {
>                                   list => __TABLE_001__
>                                  },

>                                  for(@list) {[sql-param 
> $list]}

Maybe...

for(@list) {q{[sql-param $list]}}

...just a thought.

Dan Browning
Kavod Technologies