| 1 | package Acme::Random::Fire; | ||
| 2 | $Acme::Random::Fire::VERSION = '0.001'; | ||
| 3 | # ABSTRACT: turns baubles into trinkets | ||
| 4 | |||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | |||
| 8 | use Acme::Random; | ||
| 9 | use List::Util qw{shuffle}; | ||
| 10 | |||
| 11 | sub fire { (List::Util::shuffle(@_))[(scalar @_ % Acme::Random::randomize) - 1] } | ||
| 12 | |||
| 13 | 1; |