Skip to content

Instantly share code, notes, and snippets.

@coela
Created June 28, 2012 12:11
Show Gist options
  • Save coela/3010981 to your computer and use it in GitHub Desktop.
Save coela/3010981 to your computer and use it in GitHub Desktop.
use 5.14.2;
use Data::Dumper;
my @array;
for (1..100) {
my $gene;
$gene->{tpi} = $_;
$gene->{start} = $_ * 100;
push @array,$gene;
}
say Dumper \@array;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment