[ABE.pm] perl 5.10 rules! - say what?
Michael C. Toren
mct at toren.net
Thu May 31 19:20:11 PDT 2007
On Thu, May 31, 2007 at 11:23:27AM -0400, Ricardo SIGNES wrote:
> say is stolen from Perl 6. It's just like print, but it prints a newline when
> you're done. Seriously, that's it!
>
> print "Nice to meet you, ", $ENV{USER}, ".\n";
> say "Nice to meet you, ", $ENV{USER}, ".";
Hmm, somewhat of a shame it wasn't named "puts", to mirror the function
of the same name in ruby, etc...
-mct
More information about the ABE-pm
mailing list