in reply to Re^3: Check if key exist in hash but not exact match
in thread Check if key exist in hash but not exact match
Definitely adding this to my snippet file! But I've never seen this syntax before. What is triggering the code evaluation of max(...) here?my $fmt = "%-7s %-@{[max map length, keys %$hash]}s ";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Check if key exist in hash but not exact match ( meaning of " @{[...]} " )
by LanX (Saint) on Apr 04, 2023 at 21:51 UTC | |
|
Re^5: Check if key exist in hash but not exact match
by eyepopslikeamosquito (Archbishop) on Apr 04, 2023 at 22:23 UTC | |
|
Re^5: Check if key exist in hash but not exact match
by kcott (Archbishop) on Apr 04, 2023 at 22:41 UTC | |
by ibm1620 (Hermit) on Apr 05, 2023 at 12:11 UTC |