in reply to Re^2: diamond operator multiple input
in thread diamond operator multiple input

Exactly, just like every readline in list context except for a while loop.

Replies are listed 'Best First'.
Re^4: diamond operator multiple input
by ikegami (Patriarch) on Jan 22, 2009 at 14:13 UTC
    But lc imposes a scalar context
    >perl -le"lc sub { print wantarray?1:0 }->();" 0

    By using your code, lines further down in the file will be discarded whereas they weren't in the OP's code.