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

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.