{
    "mode": "perldoc",
    "parameter": "List::MoreUtils::XS",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/List%3A%3AMoreUtils%3A%3AXS/json",
    "generated": "2026-06-12T06:20:30Z",
    "synopsis": "use List::MoreUtils::XS (); # doesn't export anything\nuse List::MoreUtils ':all'; # required to import functions\nmy @procs = getprocessstats->fetchallarray;\n# sort by ppid, then pid\nqsort { $a->[3] <=> $b->[3] or $a->[2] <=> $b->[2] } @procs;\nwhile( @procs ) {\nmy $proc = shift @procs;\nmy @children = equalrange { $->[3] <=> $proc->[2] } @procs;\n}\nmy @left = qw(this is a test);\nmy @right = qw(this is also a test);\nmy %rlinfo = listcmp @left, @right;\n# on unsorted\nmy $i = firstidx { $ eq 'yeah' } @foo;\n# on sorted - always first, but might not be 'yeah'\nmy $j = lowerbound { $ cmp 'yeah' } @bar;\n# on sorted - any of occurrences, is surely 'yeah'\nmy $k = bsearchidx { $ cmp 'yeah' } @bar;",
    "sections": {
        "NAME": {
            "content": "List::MoreUtils::XS - Provide compiled List::MoreUtils functions\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use List::MoreUtils::XS (); # doesn't export anything\nuse List::MoreUtils ':all'; # required to import functions\n\nmy @procs = getprocessstats->fetchallarray;\n# sort by ppid, then pid\nqsort { $a->[3] <=> $b->[3] or $a->[2] <=> $b->[2] } @procs;\nwhile( @procs ) {\nmy $proc = shift @procs;\nmy @children = equalrange { $->[3] <=> $proc->[2] } @procs;\n}\n\nmy @left = qw(this is a test);\nmy @right = qw(this is also a test);\nmy %rlinfo = listcmp @left, @right;\n\n# on unsorted\nmy $i = firstidx { $ eq 'yeah' } @foo;\n# on sorted - always first, but might not be 'yeah'\nmy $j = lowerbound { $ cmp 'yeah' } @bar;\n# on sorted - any of occurrences, is surely 'yeah'\nmy $k = bsearchidx { $ cmp 'yeah' } @bar;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "List::MoreUtils::XS is a backend for List::MoreUtils. Even if it's possible (because of user\nwishes) to have it practically independent from List::MoreUtils, it technically depend on\n\"List::MoreUtils\". Since it's only a backend, the API is not public and can change without any\nwarning.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "List::Util, List::AllUtils\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Jens Rehsack <rehsack AT cpan.org>\n\nAdam Kennedy <adamk@cpan.org>\n\nTassilo von Parseval <tassilo.von.parseval@rwth-aachen.de>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "Some parts copyright 2011 Aaron Crane.\n\nCopyright 2004 - 2010 by Tassilo von Parseval\n\nCopyright 2013 - 2017 by Jens Rehsack\n\nAll code added with 0.417 or later is licensed under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance with the License. You may obtain a\ncopy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the\nLicense is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\nexpress or implied. See the License for the specific language governing permissions and\nlimitations under the License.\n\nAll code until 0.416 is licensed under the same terms as Perl itself, either Perl version 5.8.4\nor, at your option, any later version of Perl 5 you may have available.\n",
            "subsections": []
        }
    },
    "summary": "List::MoreUtils::XS - Provide compiled List::MoreUtils functions",
    "flags": [],
    "examples": [],
    "see_also": []
}