我需要调试一些如下所示的代码.但是,我不知道它是什么语言.它似乎是perl和html的组合.有人可以让我知道这究竟是什么,以便我可以做未来的研究吗?
//All in the same file <%doc> # Something # Something </%doc> <%args> $id => undef $debug => undef $other => under </%args> <%perl> Code that appears to be perl code </%perl> <!DOCTYPE html> <html> HTML that also appears to have code (maybe perl code) inside <%these types of %> brackets as well as <& these types &> </html>
有人可以解释一下究竟是什么.它是perl,还是html?或者它是两者的某种组合?如果它是后者,那么你是如何从HTML中引用perl代码的:<%foo%> <&安培;酒吧&>
抱歉这个令人困惑的问题.我很乐意提供更多细节.
解决方法
它似乎是
HTML::Mason的模板.