Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
cos when i refer to $sportlist[0]; it returns "campus" and when i refer to $sportlist1; it returns "relay" instead of returning "archery"my @sportlist = qw('campus relay ' 'Archery' 'Badminton' 'Basketball' +'Cricket' 'Football' 'Hockey' 'Netball' 'Rugby' 'Snooker' 'Squash' 'S +wimming' 'Table Tennis' 'Tennis' 'Tug of War' 'Volleyball');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: lists of strings
by lachoy (Parson) on Apr 06, 2001 at 00:47 UTC | |
by Masem (Monsignor) on Apr 06, 2001 at 00:54 UTC | |
by Anonymous Monk on Apr 06, 2001 at 00:51 UTC |