in reply to How to load a file in Perl/Tk

but I just not too sure how to apply it in my actual script.

Why not (this means explain the confusion if you want help)?

tk html
-> Tk::MarkdownTk - a Tk::Markdown with tk widget tag support
-> Tk::HyperText - An ROText widget which renders HTML code.