Figure out which Perl versions CharmBoard works with #13

Open
opened 2024-08-19 07:30:42 +00:00 by nu · 3 comments
Owner

This is a later thing for documentation purposes, but I know it's at least 5.20 since I'm using the subroutine signatures feature (see the CONVENTIONS section of Mojolicious::Guides), and could be as high as Perl 5.38.2 since that's what I'm using right now + I tend to use modern features (whatever is documented in the current version of perldoc on the web) incl., currently, experimental features (try, smartmatch)

This is a later thing for documentation purposes, but I know it's at least 5.20 since I'm using the subroutine signatures feature (see [the CONVENTIONS section of `Mojolicious::Guides`](https://docs.mojolicious.org/#CONVENTIONS)), and could be as high as Perl 5.38.2 since that's what I'm using right now + I tend to use modern features (whatever is documented in the current version of perldoc on the web) incl., currently, experimental features (`try`, `smartmatch`)
nu added this to the CharmBoard v1.0 milestone 2024-08-19 07:30:42 +00:00
nu added the
documentation
label 2024-08-19 07:31:25 +00:00
Author
Owner

try/catch was added in 5.34, see: https://perldoc.perl.org/perlexperiment

try/catch was added in 5.34, see: https://perldoc.perl.org/perlexperiment
Author
Owner

It also looks like try/catch is being made non-experimental in 5.40 (funnily enough, a version of Perl I don't even have installed right now), see: https://perldoc.perl.org/feature#The-'try'-feature

Use of finally is still experimental as of 5.40, but CharmBoard doesn't use finally anyways.

I don't think it makes much sense to limit to 5.40+ though considering try when it was in its experimental phase seems to still work the same now that its been made not-experimental in 5.40?

It also looks like try/catch is being made non-experimental in 5.40 (funnily enough, a version of Perl I don't even have installed right now), see: https://perldoc.perl.org/feature#The-'try'-feature Use of `finally` is still experimental as of 5.40, but CharmBoard doesn't use `finally` anyways. I don't think it makes much sense to limit to 5.40+ though considering `try` when it was in its experimental phase seems to still work the same now that its been made not-experimental in 5.40?
Author
Owner

Oh yeah, and because of #15 and 1b179fb08d, the thing about smartmatch isn't relevant anymore. Regardless, it seems smartmatch was introduced before 5.34 anyways so it didn't do anything to change the min Perl version.

Oh yeah, and because of #15 and 1b179fb08d, the thing about smartmatch isn't relevant anymore. Regardless, it seems smartmatch was introduced before 5.34 anyways so it didn't do anything to change the min Perl version.
nu added the
improvement
label 2024-08-19 18:12:25 +00:00
nu removed the
improvement
label 2024-08-24 05:40:49 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nu/CharmBoard#13
No description provided.