{
    "mode": "perldoc",
    "parameter": "XString",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XString/json",
    "generated": "2026-06-14T04:14:02Z",
    "synopsis": "#!perl\nuse strict;\nuse warnings;\nuse Test::More;\nuse XString;\nuse B;\nis XString::cstring( q[a'string\"with quotes] ), B::cstring( q[a'string\"with quotes] ), q[\"a'string\\\"with quotes\"];\nis XString::perlstring( q[a'string\"with quotes] ), B::perlstring( q[a'string\"with quotes] ), q[\"a'string\\\"with quotes\"];\ndonetesting;",
    "sections": {
        "NAME": {
            "content": "XString - Isolated String helpers from B\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 0.005\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "#!perl\n\nuse strict;\nuse warnings;\n\nuse Test::More;\n\nuse XString;\nuse B;\n\nis XString::cstring( q[a'string\"with quotes] ), B::cstring( q[a'string\"with quotes] ), q[\"a'string\\\"with quotes\"];\nis XString::perlstring( q[a'string\"with quotes] ), B::perlstring( q[a'string\"with quotes] ), q[\"a'string\\\"with quotes\"];\n\ndonetesting;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "XString provides the B string helpers in one isolated package. Right now only cstring and\nperlstring are available.\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "cstring(STR)\nSimilar to B::cstring; Returns a double-quote-surrounded escaped version of STR which can be\nused as a string in C source code.\n\nperlstring(STR)\nSimilar to B::perlstring; Returns a double-quote-surrounded escaped version of STR which can be\nused as a string in Perl source code.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Nicolas R <atoomic@cpan.org>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is copyright (c) 2018 by cPanel, Inc.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
            "subsections": []
        }
    },
    "summary": "XString - Isolated String helpers from B",
    "flags": [],
    "examples": [],
    "see_also": []
}