Skip to content

Instantly share code, notes, and snippets.

@cfedde
Created December 31, 2013 22:34
Show Gist options
  • Save cfedde/8202935 to your computer and use it in GitHub Desktop.
Save cfedde/8202935 to your computer and use it in GitHub Desktop.
#!perl
use Modern::Perl;
use YAML;
local $/;
my %hash = <DATA> =~ /(\w+)\s=\s(\w+)/g;
say Dump \%hash;
__END__
this = that
some = stuff
to = put
into = a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment