Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Improve readability of Perl code. Naming reference variables.by kcott (Archbishop) |
on Jan 21, 2017 at 20:06 UTC ( [id://1180091]=note: print w/replies, xml ) | Need Help?? |
I rather feel that $$str, %$desktop_info and @$files make it pretty clear, not only that your dealing with references, but also what type of references they are. If you're having problems reading that, I suggest you do what ++stevieb has already alluded to and put the prefixes in a comment. Something like:
Update (minor typo fix): s{deck}{desk} in ..., %$decktop_info and .... — Ken
In Section
Meditations
|
|