[ic] Getting at [item-list] "special tags" with perl

Joachim Leidinger jojo at leidinger.net
Thu Nov 11 03:36:35 EST 2004


On Thu, 2004-11-11 at 08:57, Joachim Leidinger wrote:
> On Wed, 2004-11-10 at 21:36, Brian Kaney wrote:
> .....
> > Okay, tried I tried:
> > 
> > [perl interpolate="1"]
> > my $ret;
> > foreach my $item (@{$Items})
> > {
> >    $ret .= "Quantity for ".$item->{'code'};
> >    $ret .= "is ".[quantity-name]."<br/>\n";
> > }
> > return $ret;
> > [/perl]
> ...
> 
> Try $item->{quantity} instead of [quantity-name] .

Sorry, I've misunderstand you. 

Within embedded Perl in a loop through @$Items, "quantity$item->{mv_ip}"
is equivalent to [quantity-name].

Joachim 

-- 
Dipl. Phys.-Ing. Joachim Leidinger
eBusiness & eCommerce Consulting Leidinger
E-Mail:   info at ebusiness-leidinger.de
Internet: http://www.ebusiness-leidinger.de



More information about the interchange-users mailing list