[ic] Search within embedded perl

Ed LaFrance (New Media E.M.S.) ic_users at newmediaems.com
Fri Jul 2 12:03:23 EDT 2004

At 08:35 AM 7/2/2004, you wrote:

>In reading through the manual I find reference to using, or not using as 
>the case may
>be, the loop tag within embedded perl.
>It states:
>NOTE: This would not usually be used with embedded Perl -- a better
>choice would normally be:
>for(@list) { CODE }
>But suppose I wanted to replicate the following within embedded perl:
>[loop search="
>se=[default country US]
>How would this be structured or how would I call the search without the 
>loop tag?

The $DbSearch Perl object would allow you to do this - see the Template 
Docs:5.2 for more info.

- Ed

New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          Ed.LaFrance at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax

More information about the interchange-users mailing list