in reply to Re^2: Succinct switch statement
in thread Succinct switch statement

And say prints $_, doesn't it?
Do you see any mention of $_ in The Fine Manual? I don't. If you don't believe the documentation, you could always write your own code to answer your own question.

Replies are listed 'Best First'.
Re^4: Succinct switch statement
by ikegami (Patriarch) on Oct 23, 2009 at 22:07 UTC
Re^4: Succinct switch statement
by markkawika (Monk) on Oct 23, 2009 at 21:49 UTC
    No, but I see mention of "just like print". And print; prints $_, so it's a safe assumption that say does as well, only with an implicit \n.
      My main point is that the AnonymousMonk should show a modicum of effort: read the tiny document (a link to which was provided), then write a 2-line script to prove whether it does or does not print $_.

      OK. So the PerlMonks link to 'say' is broken, but the URL is valid.