On Wed, May 02, 2001 at 05:36:11PM +0100, Graham Barr wrote:
> On Wed, May 02, 2001 at 06:29:51PM +0200, Bart Lateur wrote:
> > On Wed, 2 May 2001 17:05:31 +0100, Graham Barr wrote:
> >
> > >wantarray-ness is already passed along the call stack today. Thats
> > >the whole point of it. So what is the difference in passing a number
> > >instead of a boolean ?
> >
> > Because you might have a wantarray situation that expects no values?
> >
> > () = whateveryouwant();
>
> I am sure that situation is handled by the 'want' RFC. I have not
> read it recently, but I suspect in this case want('LIST') would
> return that magical "0 but true" or something similar.
Hopefully the "something similar", I hope in Perl 6 we will able to
bury the "0 but true" workaround to the backyard on a moonless night :-)
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen
- Re: Please make "last" work in "grep&quo... Graham Barr
- Re: Please make "last" work in "gre... David L. Nicol
- Re: Please make "last" work in "grep&quo... H . Merijn Brand
- Re: Please make "last" work in "grep&quo... Michael G Schwern
- Re: Please make "last" work in "gre... John Porter
- Re: Please make "last" work in "grep&quo... Bart Lateur
- Re: Please make "last" work in "gre... Larry Wall
- Re: Please make "last" work in "gre... Damian Conway
- Re: Please make "last" work in "grep&quo... Larry Wall
- Re: Please make "last" work in "grep&quo... Graham Barr
- Re: Please make "last" work in "grep&quo... Jarkko Hietaniemi
- Re: Please make "last" work in "gre... Bart Lateur
- Re: Please make "last" work in "grep&quo... Dan Sugalski
- Re: Please make "last" work in "grep&quo... Larry Wall
- Re: Please make "last" work in "gre... Dan Sugalski
- Re: Please make "last" work in "grep&quo... Damian Conway
- Re: Please make "last" work in "gre... Dan Sugalski
- Re: Please make "last" work in "gre... Larry Wall
- Re: Please make "last" work in "grep&quo... Ariel Scolnicov
- Re: Please make "last" work in "gre... David L. Nicol
- Re: Please make "last" work in "grep&quo... Mark-Jason Dominus
