But your test for uniqueness is overly complicated and buggy in edge cases.
Better just take simply the keys if %h and sort them.
But if I were you I'd hardcode the weekdays into an array anyway.
Cheers Rolf
(addicted to the Perl Programming Language)
In reply to Re: Trouble Chaining map function
by LanX
in thread Trouble Chaining map function
by jaypal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |