On Fri, 13 Mar 2015 07:13:31 -0500
Tom Browder <tom.brow...@gmail.com> wrote:

> I have seen the following beginning lines of Perl programs in some
> examples on the Perl 6 web site:
>   #!/usr/bin/env perl6
>   v6;
> Isn't the 'v6' superflous given the first line?
> Best regards,
> -Tom

The specification doesn't account for shebang lines; a file is
determined as Perl 6 if the first non-whitespace-only, non-comment line
is something like "use v6", or a class/role/grammar/etc declaration.

You may be interested to know that a bare "v6" is now deprecated:



Reply via email to