Jun 032010
New way to print in Perl6
Answer:
In Perl 6, you can use the new syntax say to print out string in Perl.
say 'hello';
But they are also valid under Perl 5.10 or 5.12, if you add
use feature qw(say);
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
New way to print in Perl6
Answer:
In Perl 6, you can use the new syntax say to print out string in Perl.
say 'hello';
But they are also valid under Perl 5.10 or 5.12, if you add
use feature qw(say);