Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^5: Is Perl a good career move?by thinker (Parson) |
on May 24, 2005 at 15:46 UTC ( [id://460046]=note: print w/replies, xml ) | Need Help?? |
>> 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
In Section
Meditations
|
|