non-hashref constructor in parent class results in useful error message

Please have a look over this and let me know any of you would like any changes on this before putting it in master.