On Fri, May 06, 2005 at 06:55:47PM +0200, Juerd wrote: : Luke Palmer skribis 2005-05-06 10:45 (-0600): : > > How do you pipe to an array returned by a sub? ==> @ foo()? : > Well, you'd have to be piping into a returned array ref, because you : > can't pipe into the list the sub returns. So I think it's ==> : > @{foo()} : > > Off topic, but I just thought of this again: is whitespace allowed or : > > disallowed between sigil and name? : > Disallowed. : : Does this mean that @{foo()} can be written as @ foo()?
I would prefer not. Use foo()[] instead. Larry