> Is it possible to pass the dictionary directly, e.g.
> 
> some_function (%some_hash);
> 
> Or do I need to pass the function a reference to the hash. Please jog my
> memory.

It is possible:
sub some_function {
     my %args = @_;
     ...
}
some_function (%some_hash);

I think this will have an effect on efficiency, but if you don't care
about that, this should work.  Just make sure your documentation is
clear as to which the function expects.

-David
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to