use strict;my @list = ('116','111','109','109','111','110','116','101' +);&show; @list[0] = @list[7];@list[1] = '114';@list[2] = '103';@list[3] = @list +[4];@list[4] = '119'; @list[5] = @list[3];@list[6] = '108';@list[7] = '102';&show;sub show { +foreach (@list) { print chr($_);}print "\n";} # this prints out my name and my alterego
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: First attempt!
by merlyn (Sage) on Apr 30, 2000 at 18:50 UTC | |
|
RE: First attempt!
by turnstep (Parson) on May 01, 2000 at 17:43 UTC | |
by ergowolf (Monk) on May 01, 2000 at 20:41 UTC | |
|
RE: First attempt!
by httptech (Chaplain) on May 01, 2000 at 17:11 UTC | |
by Adam (Vicar) on May 03, 2000 at 20:13 UTC |