I've to read and parse HTML file and populate a data structure (in C++). I'm planning to do the parsing using perl (so I can use some other perl modules.). My requirement is this.
- Get the file from gui (C++ code)
- Pass it to perl.
- Parse file on perl side (perl script using some other perl modules), populate the C++ structure
- Continue working on C++ side with the populated structure.
I'm reading about extending and embedding perl, but unable to figure out the correct procedure. Any help would be greatly appreciated.