Damien Neil wrote:

> What makes you presume this?  Perhaps snrub() is something like this:
> 
>   sub snrub {
>     foreach (@_) {
>       frobnicate $_;
>     }
>   }
> 
> You appear to arguing that expressions in function argument lists should
> not be evaluated in a list context.  Is this really what you mean?

I guess I do. I guess I just hate contexts!

If a function does stuff to lists it should take a list prototype.


> One of the fundamental concepts in Perl is context.  Would you care to
> address the point of what happens to context when you remove @ and %
> prefixes?

I think I just did :)

Reply via email to