Last active
March 21, 2018 01:37
-
-
Save adeishs/b2b75f6f2211f7bb6e6a8346c8517a92 to your computer and use it in GitHub Desktop.
Perl hashref of hashref
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 Data::Dumper; | |
my $x; | |
$x->{a}->{b}->{c}->{d} = 1; | |
print Dumper($x) | |
=begin output | |
$VAR1 = { | |
'a' => { | |
'b' => { | |
'c' => { | |
'd' => 1 | |
} | |
} | |
} | |
}; | |
=end output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment