Hi Lukas,
sorry for the late answer, but a mail that goes not to the list and doesn't
have Embperl in it's subject, easly get's lost in the tons of mails in my
inbox, so better answer to the list the next time
> >>
> >> I need to implement my own cipher.c. What I should change?
> >>
> GR> Wh
>
> ... or something similar. Of course, the ideal solution would be for the
> standard 'my' to apply to the whole Embperl sub. I don't know if this is
> feasible given the implementation of Embperl and Perl itself.
>
You can use 'my' or 'local' just like in Perl with 2.0:
[$sub foo $]
[* my $a
Hi Gerald,
I have a feature suggestion for 2.0, unless you've already done it. I
took a look at the docs for 2.0 and couldn't find any mention of this,
but I could be mistaken. If I'm missing something that's already there,
then I apologise in advance!
I'd like to be able to make variables local
GAH!
I should have seen that to :)
Well now it works, thanks alot for the help!
/Christian
- Original Message -
From: "Gerald Richter" <[EMAIL PROTECTED]>
To: "Christian Frantsen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 2:33 PM
Subject: Re: Problem with
>
> If i try this...
>
> [$ foreach $row @$result $]
> [+ $row +]
> [$ endforech $]
>
> ... the only output is a '0', there should be an ARRAY ref there.
>
I should have seen this after your first mail...
$row is special inside a Embperl page. It's always the row counter and
because you are no