diff options
author | Gerard Goossen <gerard@tty.nl> | 2007-05-08 19:42:45 +0200 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-05-12 22:44:02 +0000 |
commit | dde833314f5826ee54c52d1baaca343300ee23fd (patch) | |
tree | a85f5264106fb87b58cfad478baeb9cd2301e474 /mad | |
parent | fb2b694ac153e3b2b3f9e40df708ecd1973cbf38 (diff) | |
download | perl-dde833314f5826ee54c52d1baaca343300ee23fd.tar.gz |
Give the 'local' declarator a new key, such that 'local our'
declaration don't have multiple 'd' keys.
Subject: [PATCH] mad: different key for the locale declarator
Message-Id: <20070508171125.GI17043@ostwald>
p4raw-id: //depot/perl@31208
Diffstat (limited to 'mad')
-rwxr-xr-x | mad/Nomad.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mad/Nomad.pm b/mad/Nomad.pm index e425467038..4fdd3a89ee 100755 --- a/mad/Nomad.pm +++ b/mad/Nomad.pm @@ -440,6 +440,7 @@ sub newtype { sub madness { my $self = shift; my @keys = split(' ', shift); + @keys = map { $_ eq 'd' ? ('k', 'd') : $_ } @keys; my @vals = (); for my $key (@keys) { my $madprop = $self->{mp}{$key}; |