Created
January 21, 2014 19:05
-
-
Save tony-o/8546145 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
6 <script> | |
7 var delicious = { | |
8 % use JSON::Tiny qw{j}; | |
9 % my $count = 0; | |
10 % for my $e (@{$stash->{employers}}) { | |
11 % my $hash = {}; | |
12 % for (keys $e->{_result_source}->{_columns}) { | |
13 % $hash->{$_} = $e->{_column_data}->{$_} || undef; | |
14 % } | |
15 %== ($count++ != 0 ? ',' : '') . $hash->{eid} . ': ' . j($hash) | |
16 % } | |
17 }; | |
18 </script> |
Author
tony-o
commented
Jan 21, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment