Martin Vidner write:
> 
> (And I don't like the need to specify an array explicitly, but I can
> fix that later.)
> 

I change it to be more DRY. So now it takes hash, which have as keys 
parameters and as values error identifier.

so usage is:
raise InvalidParameters.new :timezone => "Missing"

I welcome another ideas how to improve this.
-- 
Josef Reidinger
YaST team
maintainer of perl-Bootloader, YaST2-Repair, webyast modules language and 
time
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to