in reply to Re^7: Scalar context of slice (myth)
in thread Scalar context of slice
You left of binary. The latter comma in
doesn't have an operand on its right hand side, so it cannot be a "binary comma".scalar(1,2,3,)
In Perl, there isn't something like an "empty statement (or expression)" which would return 'undef'. If there was, then
wouldn't return 1, but undef or null or nothing.sub foo {1;}
|
|---|