30 Oct 2021 12:36:01 UTC
- Distribution: B-Keywords
- Module version: 1.23
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Issues (2)
- Testers (948 / 1 / 0)
- KwaliteeBus factor: 1
- 100.00% Coverage
- License: unknown
- Activity24 month
- Download (13.07KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- SEE ALSO
- COPYRIGHT AND LICENSE
- SOURCE AVAILABILITY
B::Keywords - Lists of reserved barewords and symbol names
use B::Keywords qw( @Symbols @Barewords ); print join "\n", @Symbols, @Barewords;
B::Keywordssupplies several arrays of exportable keywords:
@Symbolsarray includes the contents of each of
@Barewordsadds a few non-function keywords and operators to the
@BarewordsExtraadds a few barewords which are not in keywords.h.
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.
The above are lists of variables, special file handles, and built in functions.
This is just the combination of all of the above: variables, file handles, and functions.
This is a list of other special keywords in perl including operators and all the control structures.
This is a list of barewords which are missing from keywords.h, handled extra in the tokenizer.
Those are special tie or PerlIO methods called by the perl core, namely for tieing or PerlIO::via (or both of those) or threads.
Methods defined by the core package UNIVERSAL.
Variables or functions used by Exporter (some internal), which is almost as good as being keywords, for you mustn't use them for any other purpose in any package that isa Exporter, which is quite common.
Anything can be exported if you desire. Use the :all tag to get everything.
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?Queue=B-Keywords. 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.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
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, 2017-2021 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 <firstname.lastname@example.org>
Reini Urban <email@example.com>