{
    "mode": "perldoc",
    "parameter": "Filter::exec",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Filter%3A%3Aexec/json",
    "generated": "2026-06-12T10:24:30Z",
    "synopsis": "use Filter::exec qw(command parameters) ;",
    "sections": {
        "NAME": {
            "content": "Filter::exec - exec source filter\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Filter::exec qw(command parameters) ;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This filter pipes the current source file through the program which corresponds to the \"command\"\nparameter.\n\nAs with all source filters its scope is limited to the current source file only. Every file you\nwant to be processed by the filter must have a\n\nuse Filter::exec qw(command ) ;\n\nnear the top.\n\nHere is an example script which uses the filter:\n\nuse Filter::exec qw(tr XYZ PQR) ;\n$a = 1 ;\nprint \"XYZ a = $a\\n\" ;\n\nAnd here is what it will output:\n\nPQR = 1\n",
            "subsections": []
        },
        "WARNING": {
            "content": "You should be *very* careful when using this filter. Because of the way the filter is\nimplemented it is possible to end up with deadlock.\n\nBe especially careful when stacking multiple instances of the filter in a single source file.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Paul Marquess\n",
            "subsections": []
        },
        "DATE": {
            "content": "11th December 1995.\n",
            "subsections": []
        }
    },
    "summary": "Filter::exec - exec source filter",
    "flags": [],
    "examples": [],
    "see_also": []
}