Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Perl5/Perl6 File Extensions #2

Closed
ginglis13 opened this issue Oct 3, 2019 · 2 comments
Closed

[Question] Perl5/Perl6 File Extensions #2

ginglis13 opened this issue Oct 3, 2019 · 2 comments

Comments

@ginglis13
Copy link

ginglis13 commented Oct 3, 2019

In scripts/run.py, the rule for Perl6 is the following:

    Language('Perl6',
        '',
        'perl6 {source}',
        ('.pl', '.p6')
    ),

If someone wished to run a Perl5 script, which traditionally has the extension .pl, would this conflict? Also, has Perl5 support been added/is it default on ubuntu 18.04?

Perl6 discussion on this: Raku/doc#1807

@ginglis13
Copy link
Author

ginglis13 commented Oct 4, 2019

I think this actually answers this question: https://perl6.org/archive/faq.html

In addition, Perl 6 will provide a "Perl 5 compatibility mode", allowing the compiler to directly execute any code that it recognizes as being written in Perl 5.

Edit: this looks outdated

@ginglis13 ginglis13 reopened this Oct 4, 2019
@pbui
Copy link
Owner

pbui commented Jul 15, 2020

If we get some Perl 5 users we can re-open, but for now I will close it.

@pbui pbui closed this as completed Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants