But I do not understand, what should be wrong with a question about a not working example in a Groovy book.
Me neither. If that was the question, then it might be boring, but it should be on-topic.
However, you are misrepresenting the question that you actually asked. The body consisted solely of the following text:
in ReGina (Groovy in Action, Second Edition) in chapter 5.5.3 Scoping at work: the classic accumulator test - there is a Perl example.
This example seems to not work. Has anybody ever made this Perl-snippet to run?
Would be thankful for hints.
Thanks in advance, Thomas
Even putting aside the grammar mistakes, the lack of formatting, and the unnecessary signature, there is a larger problem: you forgot to include the code from the example that didn't work!
In fact, this is precisely why your question got closed by community members:
Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example.
That is, as usual, a very apt description of the problems with your question, so it was rightfully closed.
Then, after the question was closed, you essentially abandoned it. You did not bother to go back and update the question (edit it) to include the missing information. So the system automatically deleted it to clean up clutter. This is a process that we affectionately call the "Roomba", after the autonomous vacuum cleaner.
In particular, the rule that caused your question to be deleted was "RemoveAbandonedClosed", which that Help Center page describes as follows:
If the question was closed more than 9 days ago, and ...
- not closed as a duplicate
- has a score of 0 or less
- is not locked
- has no answers with a score > 0
- has no accepted answer
- has no pending reopen votes
- has not been edited in the past 9 days
... it will be automatically deleted. These are "abandoned closed", and are termed as RemoveAbandonedClosed.