[ic] $ItemField->{field_name}

gert at 3edge.com gert at 3edge.com
Thu Feb 22 15:37:53 EST 2007


Marco Mescoli writes: 

> How to read inside [perl] the current [item-field field_name] value ?
> Is it possible something like this ?
> [perl]
>   if ( $ItemField->{field_name} eq "some value" ) {
>   ...
>   }
>   ...
> [/perl]

The following came to mind, not sure if it is the most elegant one though: 

[perl interpolate=1]
 my $item = '[item-field field_name]';
 if ($item eq "some value") {
  ...
 }
 ...
[/perl] 

> For Gert: I am alive but troubled :-).

Troubled makes you feel alive, right! ;) 

> Coming soon ...
> Oppala'.

CIAO! 

Gert 




More information about the interchange-users mailing list