That will not work if you ever use a file handle as the first argument (without comma), though.sub say { local $\ = "\n"; print @_ ? @_ : $_; }
And, uh... there's also Perl6::Say
In reply to Re: replacing say function
by bart
in thread replacing say function
by cyber-guard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |