in reply to Void context
in thread Operator precedence (or, I'm an idiot)

Perl should have a wantvoid
Well, wantarray already returns undef in a void context. Has for a very long time.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: •Re: Void context
by rir (Vicar) on Mar 08, 2003 at 19:01 UTC
    Great. Thanks.

    Guess I'm going have to make an effort to catch up on the parts of Perl I "know". And guts was getting so tempting.

    rir -- only about seven years behind the times