[ic] Using the [MORE] tag within a [PERL] tag

Hans-Joachim Leidinger jojo@buchonline.net
Thu, 16 Nov 2000 20:40:07 +0100


Houman Akhavan wrote:
> 
> On IC 4.6.0, I have a [perl] tag that uses a foreach statement to loop on an
> array. I would like to use the [more] tag functionality with my foreach
> statement. Where could I find out what the [more] tag translates to in Perl
> so I can use it within my Perl tag?
> 
> Thanks,
> 
> Houman A.

Save it into a scratch variable and use it. For example:

[seti dummy][more][/seti]
[perl arg=scratch]
my $mymore = $Safe{'scratch'}->{'dummy'}
...
some Perl stuff to do anything with $mymore
...
return $myresults;
[/perl]

Joachim

-- 
-------------Hans-Joachim Leidinger---------------------