Browse files

Apply Sébastien Aperghis-Tramoni's patch to allow Reflex to compile on

Perl 5.8.8.  Resolves rt.cpan.org ticket 66275.
  • Loading branch information...
1 parent fc48064 commit e9fb8dd2b684c2332cfa914f737f20a263b03c41 @rcaputo committed Jul 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Reflex/Callbacks.pm
View
2 lib/Reflex/Callbacks.pm
@@ -186,7 +186,7 @@ sub gather_cb {
sub deliver {
my ($self, $event, $arg) = @_;
- $arg //= {};
+ $arg ||= {};
$event =~ s/^(on_)?/on_/;

0 comments on commit e9fb8dd

Please sign in to comment.