> > Because you might have a wantarray situation that expects no values? > > > > () = whateveryouwant(); > > I am sure that situation is handled by the 'want' RFC. Yep. The most recent version is at: http://www.yetanother.org/damian/Perl5+i/want.html > I have not read it recently, but I suspect in this case > want('LIST') would return that magical "0 but true" or something > similar. No. It provides this information as (want)[1] or want->{COUNT}. But more frequently, the programmer herself would provide the information: if (want 3) {...} Damian
- Re: Please make "last" work in "... Uri Guttman
- Re: Please make "last" work in &q... Graham Barr
- Re: Please make "last" work i... Bart Lateur
- Re: Please make "last" work i... Graham Barr
- Re: Please make "last" work i... Jarkko Hietaniemi
- Re: Please make "last" work i... Bart Lateur
- Re: Please make "last" work i... Damian Conway
- Re: Please make "last" work i... Dan Sugalski
- Re: Please make "last" work i... Larry Wall
- Re: Please make "last" work i... Larry Wall
- Re: Please make "last" work i... Damian Conway
- Re: Please make "last" work i... David L. Nicol
- Re: Please make "last" work in "grep... Ariel Scolnicov
- Re: Please make "last" work in "... David L. Nicol
- Re: Please make "last" work in "grep"... H . Merijn Brand
- Re: Please make "last" work in "grep... Michael G Schwern
- Re: Please make "last" work in "... John Porter
- Re: Please make "last" work in "grep... Larry Wall
- Re: Please make "last" work in "... Dan Sugalski
- Re: Please make "last" work in &q... Larry Wall
- Re: Please make "last" work i... Dan Sugalski