Syntactic Confectionery Delight | |
PerlMonks |
Re: Return hash from a com object. ?by kcott (Archbishop) |
on Jun 11, 2016 at 05:00 UTC ( [id://1165387]=note: print w/replies, xml ) | Need Help?? |
G'day cdlvj, Disclaimer: I can't help you with specifics of "perl dll created by perl Ctrl"; sounds like a MSWin thing (with which I'm unfamiliar). In many functions, you'll only be interested in the hash's keys and values; the name of &readDirectory suggests it would fall into this category. In these cases, your best choice will probably be:
In other functions, particularly those that need to modify the hash in some way, a reference to the original hash may be important. In these cases, your best choice will probably be:
See also: perlreftut, perldsc and perlref. — Ken
In Section
Seekers of Perl Wisdom
|
|