5 ms·
Cool! The Perl one seems to be perl6, not perl5: https://github.com/docker-exec/perl/blob/master/Dockerfile https://github.com/docker-exec/perl/blob/master/Doc
by gizzlon 12y ago
Cool!
The Perl one seems to be perl6, not perl5:
https://github.com/docker-exec/perl/blob/master/Dockerfile https://github.com/docker-exec/perl/blob/master/Dockerfile
Maybe you should rename it to Perl6? Perl 5 is still the standard in the Perl world..
- andystanton 12y ago@gizzlon @senorsmile perl 5 is now the default in the latest 1.0.1 release. perl6 is available too, either by using .p6 extension or specifying an override image with: dexec foo.pl --specify-image dexec/perl6
- andystanton 12y agoI didn't do my research @gizzlon - I assumed it was backwards compatible! Perhaps you can help - a quick Google suggests that a reasonable Perl 6 file extension is .p6 - is that standard in the Perl world? dexec chooses a Docker image based on file extension. I'm planning to allow this to be overridden anyway, but it would be great if there is an easy way to distinguish between Perl 5 and 6 source files.
- senorsmile 12y agoperl6 will definitely not backwards compatible. AFAICT, if any extension is used, it will probably still be '.pl'. the hash bang line (at least in unix land) determines the specific interpreter to use. Besides that, perl6 is not quite production ready (although this it is supposed to be christmas this year). Perl6 doesn't even have one specific implementation, although it sounds like the first production ready version will be rakudo on top of the MoarVM. Perl5 would be a much saner default. I would worry about supporting some version of perl6 at a later time. btw, cool tool!
- gizzlon 12y agoSure, I'll take a look at it tomorrow