On Thu, 2 Aug 2001, Michael G Schwern wrote:
>
> use constant NOTHING => undef;
>
> sub foo {
[snip]
> return NOTHING;
> }
Shouldn't that rather be
use constant NOTHING => ();
so it will return the empty list in list context? Or one could just
simply write
return;
instead.
--
Ilmari Karonen - http://www.sci.fi/~iltzu/
"It's possible to write a Perl program that simulates a universal Turing
machine, so, yes, your point is both valid and correct."
-- Greg Bacon in comp.lang.perl.misc
- Re: Sorting in-place pcg
- Re: Sorting in-place Ronald J Kimball
- Re: Sorting in-place pcg
- Re: Sorting in-place Ronald J Kimball
- Re: Sorting in-place Clinton A . Pierce
- Re: Sorting in-place Bart Lateur
- Re: Sorting in-place pcg
- Re: Sorting in-place Abigail
- Re: Sorting in-place Michael G Schwern
- Re: Sorting in-place Ilmari Karonen
- Re: Sorting in-place pcg
- Re: Sorting in-place Ilmari Karonen
- Re: Sorting in-place Andrew Pimlott
- Re: Sorting in-place Ilmari Karonen
- Re: Sorting in-place Bart Lateur
- Re: Sorting in-place Ronald J Kimball
- Re: Sorting in-place pcg
- Re: Sorting in-place Michael G Schwern
- Re: Sorting in-place Abigail
