{
    "content": [
        {
            "type": "text",
            "text": "# HTML::Mason::Resolver::Null (perldoc)\n\n## NAME\n\nHTML::Mason::Resolver::Null - a do-nothing resolver\n\n## SYNOPSIS\n\nmy $resolver = HTML::Mason::Resolver::Null->new;\n\n## DESCRIPTION\n\nThis HTML::Mason::Resolver subclass is useful if you want to create components via the\n\"HTML::Mason::Interp->makecomponent\" method and you never plan to interact with the filesystem.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "HTML::Mason::Resolver::Null",
        "section": "",
        "mode": "perldoc",
        "summary": "HTML::Mason::Resolver::Null - a do-nothing resolver",
        "synopsis": "my $resolver = HTML::Mason::Resolver::Null->new;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 24,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "HTML::Mason::Resolver::Null - a do-nothing resolver\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "my $resolver = HTML::Mason::Resolver::Null->new;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This HTML::Mason::Resolver subclass is useful if you want to create components via the\n\"HTML::Mason::Interp->makecomponent\" method and you never plan to interact with the filesystem.\n\nBasically, it provides all of the necessary resolver methods but none of them do anything.\n\nThis means that if you use this method things like \"$interp->exec\" will simply not work at all.\n\nHowever, if you just want to make a component with an interpreter and execute that component it\ncan be useful. For example:\n\nmy $interp = HTML::Mason::Interp->new( resolverclass => 'HTML::Mason::Resolver::Null',\ndatadir => '/tmp' );\n\nmy $comp = $interp->makecomponent( compsource => <<'EOF' );\n% my $var = 'World';\nHello, <% $var %>!\nEOF\n\nmy $buffer;\nmy $request = $interp->makerequest( outmethod => \\$buffer, comp => $comp );\n$request->exec;\n\nprint $buffer;\n",
                "subsections": []
            }
        }
    }
}