more useful options | |
PerlMonks |
Re: Function name in a variable, can't recall the conceptby mpersico (Monk) |
on Apr 02, 2019 at 15:00 UTC ( [id://1232020]=note: print w/replies, xml ) | Need Help?? |
Today is not my day.
When it was mentioned that what I demonstrated in my examples wouldn't work under use strict; I went back and looked at the code again and realized my example was wrong. Here's what I am really doing:
It's not "Function name in variable", it's "Method name in variable", and a relevant reference to same is https://perldoc.perl.org/perlobj.html#Method-Call-Variations
In Section
Seekers of Perl Wisdom
|
|