Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

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);

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>