{
  "id": "01",
  "content": [
    {
      "type": "heading",
      "text": "Welcome to Perl/CGI"
    },
    {
      "type": "text",
      "html": "Perl is a powerful scripting language used widely in early web development. CGI (Common Gateway Interface) lets servers run programs (like Perl scripts) to generate dynamic pages."
    },
    {
      "type": "text",
      "html": "<strong>Setup:</strong> Install Perl (5.32+ recommended). On macOS/Linux you likely have <code>perl</code>. Check with <code>perl -v</code>."
    }
  ],
  "quiz": {
    "questions": [
      {
        "id": "q1",
        "type": "single",
        "text": "CGI stands for:",
        "options": [
          {
            "id": "a",
            "text": "Common Gateway Interface"
          },
          {
            "id": "b",
            "text": "Computer Graphics Interface"
          },
          {
            "id": "c",
            "text": "Code Generation Interface"
          }
        ],
        "correct": [
          "a"
        ]
      },
      {
        "id": "q2",
        "type": "single",
        "text": "Perl programs typically use which file extension?",
        "options": [
          {
            "id": "a",
            "text": ".pl or .cgi"
          },
          {
            "id": "b",
            "text": ".php"
          },
          {
            "id": "c",
            "text": ".rb"
          }
        ],
        "correct": [
          "a"
        ]
      }
    ]
  }
}