But it says "The 'state' feature is enabled automatically with a use v5.10 (or higher) declaration in the current scope." Keep in mind the code I pasted above runs on Perl 5.8. And on my computer, I have a copy of Perldoc 5 version 8.8, which is what I use. I couldn't find state in there obviously, because it's an older documentation, and state seems to be a newer feature. But I don't understand why it's working on an older perl. Hmm...
In reply to Re^4: Weird syntax. What does this goto statement do?
by harangzsolt33
in thread Weird syntax. What does this goto statement do?
by harangzsolt33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |