Subject: | all_versions() is not OO |
all_versions() caches the result of the sorted version array in an "our" variable, and effectively prevents using this method on multiple objects.
Either store the result within $self (e.g. $self->{all_versions}), or don't cache the result at all.
Regards,
Slaven