B::Keywords - Lists of reserved barewords and symbol names
use B::Keywords qw( @Symbols Barewords ); print join "\n", @Symbols, @Barewords;
B::Keywords
supplies seven arrays of keywords: @Scalars
,
@Arrays
, @Hashes
, @Filehandles
, @Symbols
, @Functions
,
and @Barewords
. The @Symbols
array includes the contents of each
of @Scalars
, @Arrays
, @Hashes
, and @Filehandles
.
Similarly, @Barewords
adds a few non-function keywords and
operators to the @Functions
array.
All additions and modifications are welcome.
@Scalars
@Arrays
@Hashes
@Filehandles
@Functions
@Symbols
@Barewords
Anything can be exported if you desire. Use the :all tag to get everything.
keywords.pl from the perl source, perlvar, perlfunc, perldelta.
Joshua ben Jore <jjore@cpan.org>
Copyright 2007, Joshua ben Jore. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License as published by the Free Software Foundation; version 2, or
b) the "Artistic License" which comes with Perl.