Created
August 22, 2012 16:16
-
-
Save smujohnson/3427125 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 5.010; | |
use Data::Dumper; | |
my @stuff = ( { a => 1, b => 2} ); | |
# osse | |
say Dumper keys $stuff[0]; | |
# sjohnson | |
say Dumper keys %{ $stuff[0] }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
(with 53 registered patches, see perl -V for more detail)
Copyright 1987-2011, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.