in reply to (prototypes) Re: why a
in thread why is a "\" needed before a hash in my subroutine call?

That enforces correct use...

but only if the function was called using the name(args) syntax - the compiler doesn't enforce the prototype when the & syntax is used, or if the sub is called via a reference:

&process($path, %seen, %total); # won't complain my $sub = \&process; $sub->($path, %seen, %total); # won't complain

Jeff

R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--