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

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.

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