B::Keywords - Lists of reserved barewords and symbol names |
B::Keywords - Lists of reserved barewords and symbol names
use B::Keywords qw( @Symbols @Barewords ); print join "\n", @Symbols, @Barewords;
B::Keywords
supplies several arrays of exportable keywords:
@Scalars
, @Arrays
, @Hashes
, @Filehandles
, @Symbols
,
@Functions
, @Barewords
, @TieIOMethods
, @UNIVERSALMethods
and @ExporterSymbols
.
The @Symbols
array includes the contents of each
of @Scalars
, @Arrays
, @Hashes
, @Functions
and @Filehandles
.
Similarly, @Barewords
adds a few non-function keywords and
operators to the @Functions
array.
All additions and modifications are welcome.
The perl parser uses a static list of keywords from regen/keywords.pl which constitutes the strict list of keywords @Functions and @Barewords, though some @Functions are not functions in the strict sense. Several library functions use more special symbols, handles and methods.
@Scalars
@Arrays
@Hashes
@Filehandles
@Functions
@Symbols
@Barewords
@TieIOMethods
@UNIVERSALMethods
@ExporterSymbols
Anything can be exported if you desire. Use the :all tag to get everything.
regen/keywords.pl from the perl source, the perlvar manpage, the perlfunc manpage, the perldelta manpage.
Please report any bugs or feature requests to bug-B-Keywords at
rt.cpan.org
, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html. I will be
notified, and then you'll automatically be notified of progress on
your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc B::Keywords
You can also look for information at:
Michael G Schwern, Reini Urban, Florian Ragwitz and Zsbán Ambrus for patches and releases.
Copyright 2009 Joshua ben Jore, All rights reserved. Copyright 2013, 2015 Reini Urban, 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.
This source is in Github: git://github.com/rurban/b-keywords.git
Joshua ben Jore <jjore@cpan.org>
Reini Urban <rurban@cpan.org>
B::Keywords - Lists of reserved barewords and symbol names |