我需要调试一些如下所示的代码。但是,我不知道它是什么语言。它似乎是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代码的方式:
对不起,这个问题让人困惑。我很乐意提供更多细节。
最佳答案
它似乎是HTML::Mason的模板。