Created
December 18, 2009 09:09
-
-
Save yaotti/259391 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Hash::MultiValue; | |
use XXX; | |
my $h = [a => 1, a => 2, b => 3]; | |
my $hm = Hash::MultiValue->new(@$h); | |
YYY $hm; | |
YYY $hm->get_all('a'); | |
YYY $hm->get('a'); | |
YYY $hm->keys; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment