in reply to Can't pass a hash ref to a a subroutine

my $profile_ref ={

As was recently stated1 in a previous episode of SoPW, constructing hash references is done with {}s.

Also, as per Zaxo's and Mifflin's suggestion, remove the prototype. Even if you think it's not directly related, remove it.

----

1 I really should be more careful with my reading. I guess spending 6 hours on PM researching testing practises was bound to cause a silly mistake.