>me said:
> And you want it in one simple statement? I don't think
> it can be done, depending on one's definition of simple.
>
> Here's my best shot:
>
> map { my $foo = $_; $foo =~ s/qux/waldo/ and $foo } @bar;
Actually it was more of a question.... if it can't be done well, that's ok
too ;)
I guess my problem was just trying to get a feel for what can and can't be
done using map - like I said, the book I had mentioned it in passing with no
further hints on how to use it so I was kinda groping around in the dark. I
guess a trip to Amazon is called for!
Thanks for your help - I *think* I have a better understanding of map now ;)
Tom Watson
--
Go to:
www.abaselivemusic.com