This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
UCD.pm: Only calculate hex once
authorKarl Williamson <public@khwilliamson.com>
Wed, 21 Sep 2011 16:06:21 +0000 (10:06 -0600)
committerKarl Williamson <public@khwilliamson.com>
Wed, 21 Sep 2011 16:23:56 +0000 (10:23 -0600)
commit83fd1222cb70cfbc25e305b52ff9d2bb0539ca8c
tree503673bbfb030e8ee5997801fcd900aa9600d754
parentca420de31dd6b64a0b6c6516effc515706e0e608
UCD.pm: Only calculate hex once

This uses intermediate variables to store the output of hex(), with the
result that if there is an $end, its hex only is calculated once.
lib/Unicode/UCD.pm