perl developer required for quick win for experience perl dev

Job ID: 34445816

Budget: $250 – $750 USD

your task is to develop following steps:

- create a XML with n amount of searchgroups, containing the nodes;
- name
- regex
test XMLs will be shared to you
same as test files with content

provide a perl script to
- parse xml into (preferably class/instance way) in a sub: parseXmlFile
- read a text file into a string in a sub: readContentFile
- pass the string of the text file into a new sub: searchRegExes

searchRegExes does
iterate over all named searchgroups and executes the regex value of the given node against the read text file

create a value class FoundRegExValue containing the fields:
- name
- regex
- matchedValue
- matchedLine

on match, create a instance of FoundRegExValue which contains
- name of the searchgroup name
- regex of the searchgroup regex
- matchedValue, the found value
- matchedLine, the found line


delivery in a shared git repo (we share to you)

runs on perl 5.30 and later
Related categories: Perl XML Python Linux Shell Script