1B::Keywords(3) User Contributed Perl Documentation B::Keywords(3)
2
3
4
6 B::Keywords - Lists of reserved barewords and symbol names
7
9 use B::Keywords qw( @Symbols @Barewords );
10 print join "\n", @Symbols,
11 @Barewords;
12
14 "B::Keywords" supplies several arrays of exportable keywords: @Scalars,
15 @Arrays, @Hashes, @Filehandles, @Symbols, @Functions, @Barewords,
16 @TieIOMethods, @UNIVERSALMethods and @ExporterSymbols.
17
18 The @Symbols array includes the contents of each of @Scalars, @Arrays,
19 @Hashes, @Functions and @Filehandles.
20
21 Similarly, @Barewords adds a few non-function keywords and operators to
22 the @Functions array.
23
24 All additions and modifications are welcome.
25
26 The perl parser uses a static list of keywords from regen/keywords.pl
27 which constitutes the strict list of keywords @Functions and
28 @Barewords, though some @Functions are not functions in the strict
29 sense. Several library functions use more special symbols, handles and
30 methods.
31
33 @Scalars
34 @Arrays
35 @Hashes
36 @Filehandles
37 @Functions
38 The above are lists of variables, special file handles, and built
39 in functions.
40
41 @Symbols
42 This is just the combination of all of the above: variables, file
43 handles, and functions.
44
45 @Barewords
46 This is a list of other special keywords in perl including
47 operators and all the control structures.
48
49 @TieIOMethods
50 Those are special tie or PerlIO methods called by the perl core,
51 namely for tieing or PerlIO::via (or both of those) or threads.
52
53 @UNIVERSALMethods
54 Methods defined by the core package UNIVERSAL.
55
56 @ExporterSymbols
57 Variables or functions used by Exporter (some internal), which is
58 almost as good as being keywords, for you mustn't use them for any
59 other purpose in any package that isa Exporter, which is quite
60 common.
61
63 Anything can be exported if you desire. Use the :all tag to get
64 everything.
65
67 regen/keywords.pl from the perl source, perlvar, perlfunc, perldelta.
68
70 Please report any bugs or feature requests to "bug-B-Keywords at
71 rt.cpan.org", or through the web interface at
72 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=B-Keywords>. I will be
73 notified, and then you'll automatically be notified of progress on your
74 bug as I make changes.
75
77 You can find documentation for this module with the perldoc command.
78
79 perldoc B::Keywords
80
81 You can also look for information at:
82
83 · RT: CPAN's request tracker
84
85 <http://rt.cpan.org/NoAuth/Bugs.html?Dist=B-Keywords>
86
87 · AnnoCPAN: Annotated CPAN documentation
88
89 <http://annocpan.org/dist/B-Keywords>
90
91 · CPAN Ratings
92
93 <http://cpanratings.perl.org/d/B-Keywords>
94
95 · Search CPAN
96
97 <http://search.cpan.org/dist/B-Keywords>
98
100 Michael G Schwern, Reini Urban, Florian Ragwitz and Zsbán Ambrus for
101 patches and releases.
102
104 Copyright 2009 Joshua ben Jore, All rights reserved. Copyright 2013,
105 2015, 2017-2019 Reini Urban, All rights reserved.
106
107 This program is free software; you can redistribute it and/or modify it
108 under the terms of either:
109
110 a) the GNU General Public License as published by the Free Software
111 Foundation; version 2, or
112
113 b) the "Artistic License" which comes with Perl.
114
116 This source is in Github: <git://github.com/rurban/b-keywords.git>
117
119 Joshua ben Jore <jjore@cpan.org>
120
122 Reini Urban <rurban@cpan.org>
123
124
125
126perl v5.32.0 2020-07-28 B::Keywords(3)