Description
Perl code can tie a scalar so each access cycles through a list of values. This is useful for tests, rotating labels, generated examples, or simple state machines.
It is a developer library. Cyclic behavior can be surprising, so code using it should make the changing value obvious to maintainers.