News for hackers. Stuff that matters.
Re:Differences Between Perl 5 and Perl 6 by cytzol on Wednesday October 07, 2015 @10:52AM (#10346355)
Any Perl 6 code will have to include a `use v6;` instruction at the very top of the file, so there's no chance of Perl 5 code being confused for it. Is this what you mean?

EDIT: this was completely wrong, see below.

Re:Differences Between Perl 5 and Perl 6 by colomon on Wednesday October 07, 2015 @11:09AM (#10346462)
`use v6;` is not mandatory in Rakudo. Off the top of my head, I don't think it's mandatory in theory in Perl 6, either. However, it is widely used to mark Perl 6 code, because it gives you a nice clean error message if you accidentally try running it in Perl 5.
Re:Differences Between Perl 5 and Perl 6 by cytzol on Wednesday October 07, 2015 @12:48PM (#10347108)
Oh! I could have sworn it was necessary. My bad.