Ref::Util::XS(3)
π NAME π
okay so bestie, welcome to the User Contributed Perl Documentation page for Ref::Util::XS(3) β the manual name is literally Ref::Util::XS, and it's the XS implementation for Ref::Util. No cap, that's the name: Ref::Util::XS - XS implementation for Ref::Util.
β¨ VERSION β¨
0.117 β that's the version, bestie. Tiny number, big energy. π
π¦ SYNOPSIS π¦
Synopsis time, exactly as given β copy-paste energy, periodt:
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;
}
Literally don't use Ref::Util::XS directly; use Ref::Util and let the magic happen. π
πΈ 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. It's giving convenient-ref-identification realness.
You should use Ref::Util::XS by installing Ref::Util 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. Automatic glow-up, iykyk.
See Ref::Util for full documentation of the available functions. Go read it, bestie β that's where the full function menu lives.
π THANKS π
The following people have been invaluable in their feedback and support β like, actually invaluable, not just me hyping them:
- Yves Orton
- Steffen MΓΌller
- Jarkko Hietaniemi
- Mattia Barbon
- Zefram
- Tony Cook
- Sergey Aleynikov
π AUTHORS AND MAINTAINERS π
The author/maintainer lineup, absolute icons only:
- Aaron Crane
- Vikentiy Fesunov
- Sawyer X
- Gonzalo Diethelm
- Karen Etheridge
- Graham Knop
- p5pclub
π LICENSE π
This software is made available under the MIT Licence as stated in the accompanying LICENSE file. That's it, that's the license, periodt.
π AUTHORS π
Main character author credits, with contact details exactly where they belong:
Sawyer X <xsawyerx@cpan.org>Aaron Crane <arc@cpan.org>Vikenty Fesunov <vyf@cpan.org>Gonzalo Diethelm <gonzus@cpan.org>Karen Etheridge <ether@cpan.org>Graham Knop <haarg@cpan.org>
βοΈ COPYRIGHT AND LICENSE βοΈ
This software is Copyright (c) 2018 by Sawyer X.
This is free software, licensed under:
The MIT (X11) License
Free software and MIT (X11) License? We love to see it. π
π cute sign-off: source/version is perl v5.42.0, the date is 2018-02-07, and this masterpiece is Ref::Util::XS(3). That's the footer vibe, bestie β now go identify those refs and slay. π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Ref-Util-XS 0.117-bp160.1.12 Β· MIT
- opensuse-leap 16.0: perl-Ref-Util-XS 0.117-bp160.1.12 Β· MIT
- opensuse-leap 16.0: perl-Ref-Util-XS 0.117-bp160.1.12 Β· MIT
- opensuse-leap 16.0: perl-Ref-Util-XS 0.117-bp160.1.12 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms