【发布时间】:2013-06-25 13:02:01
【问题描述】:
我需要调试一些如下所示的代码。但是,我不知道它是什么语言。它似乎是 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 代码的方式:
抱歉这个令人困惑的问题。我很乐意提供更多详细信息。
【问题讨论】: