in reply to Defining Arrays
update: something like my @ary = map { sprintf("%.1f", $_ / 10) } (15...94) ; if you want to limit it to one decimal place.my @ary = map {$_ / 10} (15...94) ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Defining Arrays
by Masem (Monsignor) on May 17, 2001 at 17:12 UTC | |
by tye (Sage) on May 17, 2001 at 19:19 UTC | |
by Masem (Monsignor) on May 17, 2001 at 19:38 UTC | |
by tye (Sage) on May 17, 2001 at 19:50 UTC |