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
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to