Skip to content

Instantly share code, notes, and snippets.

@jyotty
Created November 9, 2011 20:26
Show Gist options
  • Select an option

  • Save jyotty/1352878 to your computer and use it in GitHub Desktop.

Select an option

Save jyotty/1352878 to your computer and use it in GitHub Desktop.
let me out of this issue three
# example perl code shipped by a company who seems to have written their backend in perl:
for(my $i = 0; $summaries->[$i]; $i++) {
my $summary = $summaries->[$i];
# …
my $offerIds =$summary->{"offerIDs"};
for(my $j = 0; $offerIds->[$j]; $j++) {
print "Offer ID: " . $offerIds->[$j] . "\n";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment