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

And say prints $_, doesn't it?

Replies are listed 'Best First'.
Re^3: Succinct switch statement
by toolic (Bishop) on Oct 23, 2009 at 21:34 UTC
    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.
      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.