Ruby collections for Perl