Skip to content

Instantly share code, notes, and snippets.

@sycobuny
Last active December 17, 2015 01:09
Show Gist options
  • Save sycobuny/5525965 to your computer and use it in GitHub Desktop.
Save sycobuny/5525965 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use warnings;
use strict;
# some example values to test
our (%STUFF) = ( # just doin' a hash, like a boss.
SOME_KEY => 'some_value',
SOME_OTHER_KEY => 'some_other_value',
);
while (my ($k, $v) = each(%STUFF)) {
print "The value of $k is $v\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment