update: bad solution
In reply to Re: Better way to dereference a shifted hashref arg? by fireartist in thread Better way to dereference a shifted hashref arg? by tphyahoo