in reply to Re: References with hashes
in thread References with hashes

Because print_address() is how one would call a subroutine called print_address. Apparently there is no such subroutine, thus the error. You need to create the subroutine or remove that line.