Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created April 18, 2016 01:54
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 zoffixznet/759afef37d52c9e7ac90ecbed14ffde0 to your computer and use it in GitHub Desktop.
Save zoffixznet/759afef37d52c9e7ac90ecbed14ffde0 to your computer and use it in GitHub Desktop.
my $rover = $res<photos>[0]<rover>;
my %cameras;
for |$res<photos> {
%cameras{ .<camera><name> }<photos>.push: {
id => .<id>,
img_src => .<img_src>,
};
%cameras{ .<camera><name> }<full_name id name rover_id>
= .<full_name id name rover_id>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment