The last cleanup of operator.pl was exceptional, however it won't hold the fort for long -- that is if you intend to implement more commands with more parameters, and more complex patterns. To put the nail in the cofffin, consider implementing a cmd/3 sister that coexists with cmd/2 in operator.pl. The role of the new sister would be to handle more complex templates and instantiate those variables directly rather than consulting dispatch.pl. This is a medium priority issue, and is not necessary perse.
The last cleanup of
operator.pl
was exceptional, however it won't hold the fort for long -- that is if you intend to implement more commands with more parameters, and more complex patterns. To put the nail in the cofffin, consider implementing acmd/3
sister that coexists withcmd/2
inoperator.pl
. The role of the new sister would be to handle more complex templates and instantiate those variables directly rather than consultingdispatch.pl
. This is a medium priority issue, and is not necessary perse.