[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] please alittle help with this statement
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