On Thu, May 10, 2001 at 10:47:25AM -0700, Peter Scott wrote: > >Nasty trap I fell into there.. > > I hate to sound like a know-it all, but I found the output easy to predict > and I don't see what trap you fell into... what were you expecting? The > only thing I can think of is not seeing that the result of the second map > becomes part of the list input to the first one, but since the second map > is a noop anyway... Well, the example doesn't make much sense because it was a testcase trimmed down from a real project. The trap I fell into was indeed overlooking that the first map would grab the result of the second map and process it. Too few brackets. The desired result was processing two lists with the map()s and returning those two lists. -Sven -- The less time planning, the more time programming. ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe