in reply to Hash and pointers

The same way you insert any other scalar. See perlreftut.