Learn how to MD:)

This commit is contained in:
2024-03-24 16:13:30 +01:00
parent 946b47bebe
commit 80a1791c41

View File

@ -5,16 +5,23 @@ This causes the parser module to load all modules listed in the configuration fi
Each module is a .pm file with the same name as the module specified in the configuration file.
## module
The modules must define a package following the same system; My::parser::package_name
The modules must define the following subs:
* new
Arguments
1 class
2 config
Resulting self-> attributes
* {'config'}
* {'parser'}
The parser is commonly the output of the modules_parser->new()
Returns $self
* parse
No arguments
Responsible to fetch whatever it wants to parse