http://qs1969.pair.com?node_id=460046


in reply to Re^4: Is Perl a good career move?
in thread Is Perl a good career move?

>> Functions created by create_functions are NAMED, not anonymous. In fact, create_function RETURNS the name.

Create function does indeed return a string, but does that mean it is not an anonymous function. perhaps we are concentrating too much on semantics here

The documentation for the function states " create_function -- Create an anonymous (lambda-style) function". Perhaps more semantics. Nevertheless, building a dispatch table from the result of create_function works for me.

I take on board your point about ||= for a function which has side effects

cheers

thinker