Skip to content

Instantly share code, notes, and snippets.

@genehack
Created May 12, 2016 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save genehack/01a8f40f43f4caaffdc63cbc6bf4fda2 to your computer and use it in GitHub Desktop.
Save genehack/01a8f40f43f4caaffdc63cbc6bf4fda2 to your computer and use it in GitHub Desktop.
#! /usr/bin/env perl
use strict;
use warnings;
use 5.024;
use DDP;
my $foo = { bar => 'baz' };
my $baz = [ 1, 2, 3 ];
my $x = [("$foo->{'bar'}", $baz->[0])];
p $x;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment