This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perltodo.pod: error message todo
[perl5.git]
/
pp_hot.c
diff --git
a/pp_hot.c
b/pp_hot.c
index
17eb6f2
..
57fa328
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-648,13
+648,14
@@
PP(pp_add)
}
#endif
{
- dPOPnv;
+ NV value = SvNV(svr);
+ (void)POPs;
if (!useleft) {
/* left operand is undef, treat as zero. + 0.0 is identity. */
SETn(value);
RETURN;
}
- SETn( value +
TOPn
);
+ SETn( value +
SvNV(svl)
);
RETURN;
}
}