in reply to calling sub routine problem?

In supplement to what has been stated so far, you can check out Tom Christiansen's article:

Far More Than Everything You've Ever Wanted to Know about Prototypes in Perl

for a comprehensive breakdown on how does prototypes really work and the problems attached with them.