in reply to Seperating Compound Lists
my @sets; for $x(1..3){ my @products; for $y(1..3){ $pro = $x ** $y; push @products, $pro; } push @sets, \@products; } use Data::Dumper; print Data::Dumper->Dumper(\@sets);
cheers,
J
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Separating Compound Lists
by Roy Johnson (Monsignor) on Feb 11, 2005 at 02:40 UTC |
In Section
Seekers of Perl Wisdom