【问题标题】:What type of perl is this?这是什么类型的perl?
【发布时间】: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 代码的方式:

抱歉这个令人困惑的问题。我很乐意提供更多详细信息。

【问题讨论】:

    标签: html perl tags


    【解决方案1】:

    它似乎是HTML::Mason 的模板。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-21
    • 1970-01-01
    • 2021-10-26
    • 2012-11-17
    相关资源
    最近更新 更多