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 seven arrays of keywords: @Scalars, @Arrays,
15 @Hashes, @Filehandles, @Symbols, @Functions, and @Barewords. The @Sym‐
16 bols array includes the contents of each of @Scalars, @Arrays, @Hashes,
17 and @Filehandles. Similarly, @Barewords adds a few non-function key‐
18 words and operators to the @Functions array.
19
20 All additions and modifications are welcome.
21
23 @Scalars
24 @Arrays
25 @Hashes
26 @Filehandles
27 @Functions
28 The above are lists of variables, special file handles, and built
29 in functions.
30
31 @Symbols
32 This is just the combination of all of the above: variables, file
33 handles, and functions.
34
35 @Barewords
36 This is a list of other special keywords in perl including opera‐
37 tors and all the control structures.
38
40 Anything can be exported if you desire. Use the :all tag to get every‐
41 thing.
42
44 keywords.pl from the perl source, perlvar, perlfunc, perldelta.
45
47 Joshua ben Jore <jjore@cpan.org>
48
50 Copyright 2007, Joshua ben Jore. All rights reserved.
51
52 This program is free software; you can redistribute it and/or modify it
53 under the terms of either:
54
55 a) the GNU General Public License as published by the Free Software
56 Foundation; version 2, or
57
58 b) the "Artistic License" which comes with Perl.
59
60
61
62perl v5.8.8 2007-10-08 B::Keywords(3)