Skip to content

Instantly share code, notes, and snippets.

@smujohnson
Created August 22, 2012 16:16
Show Gist options
  • Save smujohnson/3427125 to your computer and use it in GitHub Desktop.
Save smujohnson/3427125 to your computer and use it in GitHub Desktop.
#!/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] };
@Osse
Copy link

Osse commented Aug 22, 2012

   keys HASH
   keys ARRAY
   keys EXPR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment