zoglmannk / Morse-Code-Ninja

Software used to generate Morse Code Ninja practice sets as found on https://morsecode.ninja/practice/index.html
https://morsecode.ninja
GNU General Public License v3.0
32 stars 14 forks source link

Fixes running on newer versions of Perl #20

Closed zoglmannk closed 3 years ago

zoglmannk commented 3 years ago

Specifically fixed a "uniq" function that returned the unique entries in an array. The cryptic function was using an experimental "keys on scalar" feature that is now forbidden in newer versions of perl.

I replaced the uniq function with something less crtypic and that works on older and newer versions of perl.

Tested on Perl 5.32.1 and 5.18.4