Which things can receive?

If I recall things correctly, we already have these:

    sub     # slurpy list
    arrary  
    hash

Would it make sense to add, for example,

    filehandle  # write

It may not, as it's not reversible like the others are: a filehandle in
list context doesn't slurp. It's probably better to let this be done
only with io().

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?

When is the pointy side evaluated?

How do you pipe to an array returned by a sub? ==> @ foo()?

Off topic, but I just thought of this again: is whitespace allowed or
disallowed between sigil and name?


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to