Re: two questions: use 6, p5: package

2017-03-07 Thread ToddAndMargo
On 03/07/2017 11:53 AM, Brandon Allbery wrote: On Tue, Mar 7, 2017 at 3:12 AM, ToddAndMargo mailto:toddandma...@zoho.com>> wrote: 1) Looking at other code, I see this at the top a lot: use v6; Mine have as the first line #!/usr/bin/perl6 What is "u

Re: two questions: use 6, p5: package

2017-03-07 Thread Brandon Allbery
On Tue, Mar 7, 2017 at 3:12 AM, ToddAndMargo wrote: > 1) Looking at other code, I see this at the top a lot: > use v6; > > Mine have as the first line > #!/usr/bin/perl6 > > What is "use v6;" used for? > It ensures that perl 5 will choke if it gets asked to load the file

two questions: use 6, p5: package

2017-03-07 Thread ToddAndMargo
Hi All, Two questions: 1) Looking at other code, I see this at the top a lot: use v6; Mine have as the first line #!/usr/bin/perl6 What is "use v6;" used for? 2) I have been looking at other's modules in Perl6. In Perl 5, the first line is package Packa