skullbowl has asked for the wisdom of the Perl Monks concerning the following question:
How do I define an Array to contain a list of sequencing numbers from the lowest to the highest with an increment of 0.1 ? e.g I want the numbers (1.5,1.6,1.7,1.8,1.9,2.0 to 9.4). When i used the following code, it didn't work.
@results=(1.5..9.4);
RESULT : S414use Text::Soundex; print soundex ("Skullbowl");
Edit: chipmunk 2001-05-17
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Defining Arrays
by andye (Curate) on May 17, 2001 at 16:14 UTC | |
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 | |
|
(jeffa) Re: Defining Arrays
by jeffa (Bishop) on May 17, 2001 at 16:00 UTC | |
|
Re: Defining Arrays
by Masem (Monsignor) on May 17, 2001 at 15:59 UTC | |
|
Re: Defining Arrays
by TheoPetersen (Priest) on May 17, 2001 at 16:17 UTC | |
by skullbowl (Monk) on May 17, 2001 at 18:56 UTC | |
by andye (Curate) on May 18, 2001 at 13:00 UTC | |
by davorg (Chancellor) on May 18, 2001 at 13:43 UTC | |
|
Re: Defining Arrays
by alfie (Pilgrim) on May 17, 2001 at 16:07 UTC | |
|
Re: Defining Arrays
by ckohl1 (Hermit) on May 17, 2001 at 16:07 UTC |