in reply to Re: Technique for building arguments from function name?
in thread Technique for building arguments from function name?
Ah, yes, the old AUTOLOAD. You have proven, once again, that you have forgotten more Perl than I have even remembered. What are the downsides of doing this? I was toying with the idea of generating HTML code like this:
add_h1('Title'); add_p('Here is the opening paragraph.')
What is this technique called? There must be a name for it.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Technique for building arguments from function name?
by shmem (Chancellor) on Dec 04, 2017 at 21:38 UTC | |
|
Re^3: Technique for building arguments from function name?
by LanX (Saint) on Dec 04, 2017 at 20:55 UTC | |
by haukex (Archbishop) on Dec 05, 2017 at 06:16 UTC | |
by LanX (Saint) on Dec 06, 2017 at 16:04 UTC |