Skip Menu |

This queue is for tickets about the Reflex CPAN distribution.

Report information
The Basics
Id: 66275
Status: resolved
Priority: 0/
Queue: Reflex

People
Owner: Nobody in particular
Requestors: SAPER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.088
Fixed in: (no value)



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_/;
Patch applied; thank you!