Subject: | [patch] Small fix for passing on Perl 5.8 |
Hello,
The attached patch allows Reflex to pass on 5.8.
Regards
--
Close the world, txEn eht nepO.
Subject: | Reflex-0.088-perl5.8.diff |
--- lib/Reflex/Callbacks.pm 2011-01-07 00:35:12.000000000 +0100
+++ lib/Reflex/Callbacks.pm 2011-03-01 10:15:46.742892280 +0100
@@ -180,7 +180,7 @@
sub deliver {
my ($self, $event, $arg) = @_;
- $arg //= {};
+ $arg ||= {};
$event =~ s/^(on_)?/on_/;