Re: The distinction between "do BLOCK while COND" and "EXPR while COND" should go
[email protected] (Tom Christiansen) Sat, 02 Sep 2000 20:16:54 -0600
| Newsgroups | perl.perl6.language.flow |
|---|---|
| Message-ID | <23036.967947414@chthon> |
>I don't want that to change. I simply want that return (I'm not sure >how to phrase this) be able to return only a scalar or an aggregate. die unless wantarray; >It should be immune from having a scalar context pushed through from >the caller and change the commas from a list seperator into the comma >operator. Ok, how are you going to jam a list into a place that only holds a single thing? Modulo some superpositional silliness, you aren't. You need a rule for what to do. We have a rule for that, but you don't like it. It's not sensible that this rule be applied inconsistently. --tom