[Koha-bugs] [Bug 29175] finishreceive: Replace , by ;
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 6 08:22:49 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29175
--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to David Cook from comment #4)
> I laughed when I read the original name, but now I'm curious how you even
> noticed this one.
Sharp sight, no lenses :)
> I didn't even know until today that you could use a comma to put multiple
> calls into one single statement... at least not in this way I guess.
You shouldnt do it.
Here are a few sad examples:
use Modern::Perl;
my $a = 1, ( print "$a \n" );
Use of uninitialized value $a in concatenation (.) or string at zz line 2.
use Modern::Perl;
my $c = 1, ( print "$c \n" );
Global symbol "$c" requires explicit package name (did you forget to declare
"my $c"?) at zz line 2.
=> Please tell me the difference?
use Modern::Perl;
my $a = 1, my $b = 2, $a++, $b--, ( print "$a $b\n" );
1 -1
=> Clear enough, haha
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list