Skip to content

Instantly share code, notes, and snippets.

@tacitochaves
Created January 4, 2014 01:41
Show Gist options
  • Save tacitochaves/8250368 to your computer and use it in GitHub Desktop.
Save tacitochaves/8250368 to your computer and use it in GitHub Desktop.
array of array
#!/home/chaves/perl5/perlbrew/perls/perl-5.16.3/bin/perl
use 5.12.0;
my @AoB = (
[ 'a1', 'b1', 'c1' ],
[ 'a2', 'b2', 'c2' ],
);
foreach ( my $i; $i <= $#AoB; $i++ ) {
print "@{$AoB[$i]}\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment