Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Ref::Util::XS

Name Ref::Util::XS
Version 0.117
Located at /usr/lib/x86_64-linux-gnu/perl5/5.34
File /usr/lib/x86_64-linux-gnu/perl5/5.34/Ref/Util/XS.pm
Is Core No
Search CPAN for this module Ref::Util::XS
Documentation Ref::Util::XS
Module Details Ref::Util::XS


NAME

Ref::Util::XS - XS implementation for Ref::Util


VERSION

version 0.117


SYNOPSIS

    use Ref::Util;
    # Don't use Ref::Util::XS directly!
    if (is_arrayref($something) {
        print for @$something;
    }
    elsif (is_hashref($something)) {
        print for sort values %$something;
    }


DESCRIPTION

Ref::Util::XS is the XS implementation of Ref::Util, which provides several functions to help identify references in a more convenient way than the usual approach of examining the return value of ref.

You should use the Ref::Util::XS manpage by installing the Ref::Util manpage itself: if the system you install it on has a C compiler available, Ref::Util::XS will be installed and used automatically, providing a significant speed boost to everything that uses Ref::Util.

See the Ref::Util manpage for full documentation of the available functions.


THANKS

The following people have been invaluable in their feedback and support.


AUTHORS AND MAINTAINERS


LICENSE

This software is made available under the MIT Licence as stated in the accompanying LICENSE file.


AUTHORS


COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Sawyer X.

This is free software, licensed under:

  The MIT (X11) License

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026