[Koha-bugs] [Bug 13240] advanced_notices.pl contains code obfuscation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 6 10:52:05 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13240

Colin Campbell <colin.campbell at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |colin.campbell at ptfs-europe.
                   |                            |com

--- Comment #11 from Colin Campbell <colin.campbell at ptfs-europe.com> ---
In the perl world using $x->{one}->{two} rather than $x->{one}{two} is the most
common. one reason is that the arrow syntax can be used in a string
e.g. print "Var: $x->{one}->{two}"

using the non-arrow syntax in this way does not do what you may think it does

Plus when you get to multiple levels of indirection the arrow-less version gets
more ambigious

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list