$test->{record} is a string - you make it one, explicitly. Which is why you can't use it as a hash ref.
In reply to Re: Add Data to Hash Reference
by moritz
in thread Add Data to Hash Reference
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |