This is the Perl 5 implementation of the SML code library. SML is a minimalistic plain text descriptive markup language which is human readable, enables continuous integration of documentation, expresses and validates semantic relationships, is easy to edit, is easy to generate automatically, and publishes professional documentation from plain text manuscripts.
The SML::Library division counting function is overly complex. For certain division names:
BULLET_LIST
ENUMERATED_LIST
STEP_LIST
DEFINITION_LIST
...The code cycles through all divisions to count the current number. This is inefficient and requires 4 unnecessary public methods. There is already a 'increment_division_count' method that will work fine.
The SML::Library division counting function is overly complex. For certain division names:
...The code cycles through all divisions to count the current number. This is inefficient and requires 4 unnecessary public methods. There is already a 'increment_division_count' method that will work fine.