This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_locale(): Refactor for clarity
authorKarl Williamson <khw@cpan.org>
Mon, 24 Jul 2017 04:08:50 +0000 (22:08 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 9 Nov 2017 02:50:29 +0000 (19:50 -0700)
commit1159483a303d3acd96053c88ea1bbf1fd4cf8196
tree2298d31d77bce21f911ae433aa75a5add510ace6
parent9f82ea3e1dc3e9f97cb6c7944b1fa2a95bc256fa
Perl_locale(): Refactor for clarity

This code is full of 'if's interrupted by #ifdefs, which makes it hard
to read.  Changing it to a switch() makes it much easier to understand.
locale.c