Created
May 21, 2017 17:58
-
-
Save andrewsolomon/62e1eed0b2756fa29e466b3afca71854 to your computer and use it in GitHub Desktop.
This file contains 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/perl | |
use strict; | |
use warnings; | |
use Data::Dump 'pp'; | |
use feature 'say'; | |
sub list_to_hash { | |
return { @_ }; | |
} | |
my $rh = list_to_hash(@ARGV); | |
say pp($rh); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment