Closures as objects
How lexical scope and anonymous functions can create powerful object systems
How lexical scope and anonymous functions can create powerful object systems
Maybe you’ve heard about closures; they’re one of those aspects of Perl - like object-oriented programming - that everyone raves about and you can’t really see the big deal until you play around with them and then they just click….