Algorithm::Permute
.permute
returns. During the execution of the callback, the array is read-only and you'll get an error if you try to change its length. (You can change its elements, but the consequences are liable to confuse you and may change in future versions.)return
, and you can't jump out of it using goto
and so on. Also, caller
won't tell you anything helpful from inside the callback. Such is the price of speed.List::Permutor
. Robin Houston <[email protected]> invented and contributed the callback style interface.