in reply to Re^2: The correct way to return arrays from a module
in thread The correct way to return arrays from a module
If you mean in terms of prefix usage, the answer is nothing more than already described. I did consider extending this prefix set quite a few years ago but decided it was not useful. In cases where I think confusion is possible, I simply use the remainder of the name to disambiguate. As a last resort, in cases of extreme comlexity, I use comments to describe the complete structure.
The main point is that the following should be known to be correct syntax:
$rh_abc->{def} $ra_ghi->[jkl] $rc_mno->('pqr')
from inspection of the variable name. Without the prefixes, inspection of the code where the data originated (often in a separate module) is required.
Regards,
PN5
|
|---|