perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: local vars in subs (was: embperl status)
Date Thu, 12 Jun 2003 20:54:41 GMT
Neil,

the solution I suggest in my email is really working with 2.0b9:

[$sub foo $]
[* my $a *]

.....

[$endsub$]

This way the scope of $a is until the end of the sub.

So I guess your problem should be already solved

Gerald

--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------

----- Original Message -----
From: "Neil Gunton" <neil@nilspace.com>
To: "Gerald Richter" <richter@ecos.de>
Sent: Tuesday, June 10, 2003 5:18 AM
Subject: Re: embperl status


> Gerald Richter wrote:
> >
> > Hi Neil,
> >
> > yes Embperl is still under active developement. I was totaly offline for
a
> > couple of weeks now and have to catch up with me email.
> >
> > 2.0b9 is ready and I am running the final tests at the moment, so
hopefully
> > I can release it tomorrow.
> >
> > Regarding your sub problems, I remember we have talked about this, but
could
> > you please resend the mails to me, so I can take a look at them
>
> Hi Gerald,
>
> I don't have the emails any more, but I found the previous ones in the
> archives. Here's the link to the first one:
>
> http://www.ecos.de/~mailarc/embperl/2002-02/msg00105.html
>
> There is an exchange of a few messages on this topic, I think.
>
> I will try installing 2.0b9 again tomorrow (or when you release) and see
> if this stuff works now... I don't remember details, but there were a
> number of things that wouldn't work last time I tried. Sorry to be so
> vague, I'll tell you more specifically what problems there are when I've
> tested.
>
> For me, having "my" (in conjunction with "strict") work like it does in
> standard Perl for [$ sub $] would be a great help in stopping typos and
> hard-to-track errors.
>
> Thanks,
>
> -Neil
>


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message