1Ref::Util::XS(3) User Contributed Perl Documentation Ref::Util::XS(3)
2
3
4
6 Ref::Util::XS - XS implementation for Ref::Util
7
9 version 0.117
10
12 use Ref::Util;
13 # Don't use Ref::Util::XS directly!
14
15 if (is_arrayref($something) {
16 print for @$something;
17 }
18 elsif (is_hashref($something)) {
19 print for sort values %$something;
20 }
21
23 Ref::Util::XS is the XS implementation of Ref::Util, which provides
24 several functions to help identify references in a more convenient way
25 than the usual approach of examining the return value of "ref".
26
27 You should use Ref::Util::XS by installing Ref::Util itself: if the
28 system you install it on has a C compiler available, "Ref::Util::XS"
29 will be installed and used automatically, providing a significant speed
30 boost to everything that uses "Ref::Util".
31
32 See Ref::Util for full documentation of the available functions.
33
35 The following people have been invaluable in their feedback and
36 support.
37
38 • Yves Orton
39
40 • Steffen Müller
41
42 • Jarkko Hietaniemi
43
44 • Mattia Barbon
45
46 • Zefram
47
48 • Tony Cook
49
50 • Sergey Aleynikov
51
53 • Aaron Crane
54
55 • Vikentiy Fesunov
56
57 • Sawyer X
58
59 • Gonzalo Diethelm
60
61 • Karen Etheridge
62
63 • Graham Knop
64
65 • p5pclub
66
68 This software is made available under the MIT Licence as stated in the
69 accompanying LICENSE file.
70
72 • Sawyer X <xsawyerx@cpan.org>
73
74 • Aaron Crane <arc@cpan.org>
75
76 • Vikenty Fesunov <vyf@cpan.org>
77
78 • Gonzalo Diethelm <gonzus@cpan.org>
79
80 • Karen Etheridge <ether@cpan.org>
81
82 • Graham Knop <haarg@cpan.org>
83
85 This software is Copyright (c) 2018 by Sawyer X.
86
87 This is free software, licensed under:
88
89 The MIT (X11) License
90
91
92
93perl v5.38.0 2023-07-21 Ref::Util::XS(3)