in reply to Re: Calling subroutine syntax
in thread Calling subroutine syntax

You need to define the prototype before you can use the function.
sub my_sub (\%) { ... } my_sub(%hash);
Or if you want to define your function later:
sub my_sub (\%); my_sub(%hash); sub my_sub (\%) { ... }
_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;