For *nix, don't use a suffix. #! does the job.
For Windows, you'll want to leave .pl and .pm for Perl 5.
On 1/12/16, Tom Browder wrote:
> In Perl 5 it seems the prevailing convention (in my experience) is to
> use ".pl" for Perl programs and ".pm" as file suffixes for
In Perl 5 it seems the prevailing convention (in my experience) is to
use ".pl" for Perl programs and ".pm" as file suffixes for Perl
modules.
In Perl 6 I have seen in the various repos, blogs, and doc both ".pl",
".p6", and ".pl6" for programs and both ".pm" and ".pm6" for modules.
Is there any
Looking at the documentation, http://doc.perl6.org/language/modules
see "Basic structure".
On 1/12/16, Parrot Raiser <1parr...@gmail.com> wrote:
> For *nix, don't use a suffix. #! does the job.
>
> For Windows, you'll want to leave .pl and .pm for Perl 5.
>
> On 1/12/16, Tom Browder
First of all, your fist line contains a bug, unless the topic variable
($_) is set to something meaningful.
Because the regex after the 'and' matches against said topic. See:
~$ perl -E '$_ = "bar"; say ("foo" =~ /f+/ and /o/)' # "", so false
~$ perl -E '$_ = "bar"; say ("foo" =~ /f+/ and /a/)'
On 01/11/2016 11:24 PM, Tobias Leich wrote:
hi, what's in ${BaseTag}? Is it a regex rule or just a plain string?
(Because that matters in Perl 6)
It is a string and can vary.
Would you show me both ways to keep me out of trouble?
Am 12.01.2016 um 01:55 schrieb ToddAndMargo:
Hi All,
Would