in reply to Re: Is silent use of $_ for empty argument lists reasonable for "shortcut" functions?
in thread Is silent use of $_ for empty argument lists reasonable for "shortcut" functions?

Test 1 is fine. $_ shouldn't be modified in that case. (Not void context.)

Test 2 is the one that fails. It doesn't print == 1234  ==1234== as it should.

  • Comment on Re^2: Is silent use of $_ for empty argument lists reasonable for "shortcut" functions?
  • Select or Download Code