Richard Hainsworth skribis 2008-01-05  0:14 (+0300):
> Perl scripts have had the extension *.pl

I usually only give throw-away scripts a .pl extension. Others I call
"program" and make executable, with no extension.

> Trivial question, I suppose, but any reason not to use .p6?

It will look incredibly silly once we're used to Perl 6. I've seen .pl5
in a really old codebase in which .pl stood for Perl 4, and giggled
about it.

OTOH, I do think Perl 6 is a new language (and should not be called
Perl) and will probably adopt the same .p6 scheme. I've even on occasion
called it Perl6 and expressed the wish for a 1.0.0 release, rather than
a 6.0.0 release.

> What will the perl6 compiler look for?

Note that Perl 5's perl doesn't "look for" the .pl extension. It's a
convention, not enforced in any way that I know of.

> Ditto for modules:

Modules can keep .pm, and the interpreter can tell whether it's Perl 5
or Perl 6, because Perl 6 modules have different keywords.

Personally I'm hoping for some extra abstraction in module filenames, to
allow UTF-8 module names with ASCII filenames.
-- 
Met vriendelijke groet,  Kind regards,  Korajn salutojn,

  Juerd Waalboer:  Perl hacker  <[EMAIL PROTECTED]>  <http://juerd.nl/sig>
  Convolution:     ICT solutions and consultancy <[EMAIL PROTECTED]>

Reply via email to