[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 14:41:44 CET 2015


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

--- Comment #13 from M. Tompsett <mtompset at hotmail.com> ---
(In reply to Jonathan Druart from comment #12)
[SNIP]
> I often use it, 
> 
>   use Modern::Perl;
>   my $h = { foo => { bar => 'foobar' } };
>   say "my string with $h->{foo}->{bar}";
>   say "my string with $h->{foo}{bar}";
> 
> outputs:
> 
>   my string with foobar
>   my string with foobar

I wrote my own code to see the same thing. Which is why I said, "I agree with
Frédéric Demians on this, though only because it makes the change more
apparently equal to me, not because it actually generates a better or different
data structure." back in comment #4. Structurally, it seems identical, but
syntax-wise, I still prefer the $h->{foo}->{bar}.

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


More information about the Koha-bugs mailing list