No description provided.
add class X::Hash::Store::OddNumber
passing an odd number of elements while hash creation now throws X::H…
Moritz, just read your blog post. Cool.
Question: what is the idea behind having all exception classes declared in a central file and not locally?
The advantage of having exception classes declared centrally is that it's easier to find them all and perhaps thus helps in easy localizations (translations).
the ease of grabbing strings for localization from source seems seems to be an odd reason for moving away from the well proven approach of keeping things together that work together ... eg documentation and code (see POD) ... so keeping all the exceptions in a separate tree seems odd, especially when I think of adding new exceptions for my own classes, or would that work differently ?