Typically I pass a string a variables to my functions. However, as the list gets longer the script is harder to maintain. Rather than a list, I thought I might pass the function a hash (aka dictionary). I recall doing this when I took a Perl class, but don't recall the details.

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.

Thanks

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

Reply via email to