On 5/6/05, Juerd <[EMAIL PROTECTED]> wrote:
> When piping to a scalar, I assume its reftype will determine what will
> happen. But what if the scalar is undef? Is it then assumed to want to
> behave like an array?

If you're piping into a scalar without parens, I think it should
always become an array ref.

> 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.

Luke

Reply via email to