note
valdez
<p>This is an interesting topic discussed many times in the past; a simple [Super Search] will show these nodes:</p>
<ul>
<li>[id://8878]</li>
<li>[id://28784], includes code and explanations from [davorg] and [merlyn], introduces the Factory design pattern</li>
<li>[id://58302], more examples</li>
<li>[id://142147], [lachoy] introduces [cpan://Class::Factory]</li>
<li>[id://274487], with an explanation written today by [tye] :)</li>
</ul>
<p>Ciao, Valerio</p>
274563
274563