[Israel.pm] A Perl 5 Gotcha

Gaal Yahas gaal at forum2.org
Fri Mar 6 14:42:37 PST 2009


For once I didn't add an ObPerl6 :-)

On Fri, Mar 6, 2009 at 10:22 PM, Yitzchak Scott-Thoennes
<sthoenna at efn.org> wrote:
> On Fri, March 6, 2009 12:00 pm, Gaal Yahas wrote:
>> If by "shouldn't work" you mean, "it surprises me that it does work",
>> that's one thing, but of course it *should* work that way because that's
>> how the language is defined. It isn't a design oversight. That's how you
>> implement static variables, for example.
>
> Not now that there's a state keyword:
> http://perldoc.perl.org/functions/state.html
>
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
>



-- 
Gaal Yahas <gaal at forum2.org>
http://gaal.livejournal.com/



More information about the Perl mailing list