Created
January 17, 2013 14:03
-
-
Save tobyink/4556112 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| use strict; | |
| use warnings; | |
| use JSON; | |
| my $a = [1,2,3]; | |
| my $b = {a => $a}; | |
| push @$a, $b; | |
| print to_json $a; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment