in reply to Array of Hashes

You need to change the subroutine prototype from
sub Bounce ($) { ... }
into
sub Bounce (@) { ... }
or (better) don't use prototypes at all.