in reply to Re: Changing each item in an array
in thread Changing each item in an array
This gets rid of the array all together and the need to dereference. I realize that the for loop is magicallyfor my $item ($one, $two, $three) { $item = $item ? 'yes' : 'no'; }
Cheers - L~R
updated: Modified verbiage per diotalevi's clarification
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Changing each item in an array
by diotalevi (Canon) on Jul 19, 2003 at 00:12 UTC |