in reply to A question of style
> Sometimes, I even use $sub_ref->(), but that's just
> silly.
> silly.
I used that syntax just last night to make it really clear that $sub_ref was a reference to a subroutine (it was going to be a small demonstration of a sub returning a closure to implement an easily-implemented memoization cache).
|
---|
In Section
Seekers of Perl Wisdom