in reply to Better way to dereference a shifted hashref arg?

tphyahoo,
The obvious question is why? Typically when you pass by reference you keep it as a reference and not make a complete copy later on. To answer your question:
my %arg = %{ shift() or die "Error" };

Cheers - L~R

Update: Placed the or die inside hash key.