in reply to Re^2: How to call a sub-routine ref
in thread How to call a sub-routine ref
I find the first one much harder to read. The difference between ( and { is subtle, but properly named variables ($handlers->{$event_name}->($event)) would make that irrelevant.
|
---|
In Section
Seekers of Perl Wisdom