in reply to Re: How to reference a nested anonymous array
in thread How to reference a nested anonymous array
Note that
$aref=\@{$fileinfo{$md5hash}{path}}
dereferences the array and then creates another reference to it. Preferable might be:
$aref=$fileinfo{$md5hash}{path}
i.e., don't dereference the array at all, just assign its reference to a scalar for simplicity, readability and maintainability.
dmm
If you GIVE a man a fish you feed him for a day
|
---|