Subject: | Numeric overload in Circle/Net/IRC/Target.pm |
Current CPAN version's throwing a warning on startup due to a typo (+0 instead of 0+) in the overload line. Patch attached.
cheers,
Tom
Subject: | 2013-11-02-circle-overload.patch |
diff -uNPr circle-be-0.132860-orig/ circle-be-0.132860-patched/
--- circle-be-0.132860-VG8Dci/lib/Circle/Net/IRC/Target.pm 2013-10-14 15:10:00.000000000 +0100
+++ circle-be-0.132860-RUeo5z/lib/Circle/Net/IRC/Target.pm 2013-11-02 18:32:32.792597378 +0000
@@ -35,7 +35,7 @@
use Scalar::Util qw( refaddr );
use overload
# '""' => "STRING",
- '+0' => sub { refaddr $_[0] },
+ '0+' => sub { refaddr $_[0] },
fallback => 1;
sub STRING