in reply to perl puzzle - cartoon couple registry (beginner, semi-golf)
I have noticed that this is an extremely braindead post. D'oh!$c=[{Fred=>1, Barney=>2, George=>3, Homer=>4, Peter=>5} "Wilma", "Betty", "Jane", "Marge", "Lois" ]; while(my($h,$w)=each %$c){print"$h is married to $w\n";}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: perl puzzle - cartoon couple registry (beginner, semi-golf)
by gumby (Scribe) on Jun 12, 2002 at 19:51 UTC |