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

Consider updating to Perl 5.10 #308

Open
petdance opened this issue Mar 3, 2023 · 0 comments
Open

Consider updating to Perl 5.10 #308

petdance opened this issue Mar 3, 2023 · 0 comments

Comments

@petdance
Copy link
Contributor

petdance commented Mar 3, 2023

Is there any interest in bumping up the minimum Perl for TT to 5.10.1 which came out in 2009?

There are many places we could use defined-or for simplicity and speed. For example, Template::VMethods::list_join would go from

join(defined $joint ? $joint : ' ',
    map { defined $_ ? $_ : '' } @$list);

to

join($joint//'', map { $_//'' } @$list);

There are probably places we could take advantage of state as well. Probably less so with say.

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

1 participant