[ic] please alittle help with this statement

chad townsend interchange-users@interchange.redhat.com
Sun Feb 10 03:44:00 2002


actually mike that did work, i'm not sure what happened when i tried that the first time, but now it
works just fine.  thanks, sorry for my confusion.

./chad&

chad townsend wrote:
> 
> thanks mike, but that didn't really help me.
> 
> here's what i'm trying to do:
> 
> foreach $item (@items) {
> 
>   if($item eq "BEN01") {
>     yes item eq BEN01
>   }
> 
>   if($item eq "BEN02") {
>     yes item eq BEN02
>   }
> 
>   etc ...
> }
> 
> could someone please show me the correct way to code this in interchange, thanks!
> 
> ./chad&
> 
> Mike Heins wrote:
> >
> > Quoting chad townsend (chad@hq.mycity.com):
> > >
> > > [if items]
> > >   [then]
> > >     [item-list modular=1]
> > >     [if-item-field item-sku =~ /BEN01/]
> >
> > Hmm. I think it is probably "sku".
> >
> > >       item-sku is BEN01
> > >     [/if-item-field]
> > >     [/item-list]
> > >   [/then]
> > > [/if]
> >
> > --
> > Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
> > phone +1.513.523.7621      <mheins@redhat.com>
> >
> > Being against torture ought to be sort of a bipartisan thing.
> > -- Karl Lehenbauer
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users