.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "B::Keywords 3pm" .TH B::Keywords 3pm "2023-07-29" "perl v5.36.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" B::Keywords \- Lists of reserved barewords and symbol names .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 3 \& use B::Keywords qw( @Symbols @Barewords ); \& print join "\en", @Symbols, \& @Barewords; .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\f(CW\*(C`B::Keywords\*(C'\fR supplies several arrays of exportable keywords: \&\f(CW@Scalars\fR, \f(CW@Arrays\fR, \f(CW@Hashes\fR, \f(CW@Filehandles\fR, \f(CW@Symbols\fR, \&\f(CW@Functions\fR, \f(CW@Barewords\fR, \f(CW@BarewordsExtra\fR, \f(CW@TieIOMethods\fR, \&\f(CW@UNIVERSALMethods\fR and \f(CW@ExporterSymbols\fR. .PP The \f(CW@Symbols\fR array includes the contents of each of \f(CW@Scalars\fR, \f(CW@Arrays\fR, \f(CW@Hashes\fR, \f(CW@Functions\fR and \f(CW@Filehandles\fR. .PP Similarly, \f(CW@Barewords\fR adds a few non-function keywords and operators to the \f(CW@Functions\fR array. .PP \&\f(CW@BarewordsExtra\fR adds a few barewords which are not in keywords.h. .PP All additions and modifications are welcome. .PP The perl parser uses a static list of keywords from \&\fIregen/keywords.pl\fR which constitutes the strict list of keywords \&\f(CW@Functions\fR and \f(CW@Barewords\fR, though some \f(CW@Functions\fR are not functions in the strict sense. Several library functions use more special symbols, handles and methods. .SH "DATA" .IX Header "DATA" .ie n .IP "@Scalars" 4 .el .IP "\f(CW@Scalars\fR" 4 .IX Item "@Scalars" .PD 0 .ie n .IP "@Arrays" 4 .el .IP "\f(CW@Arrays\fR" 4 .IX Item "@Arrays" .ie n .IP "@Hashes" 4 .el .IP "\f(CW@Hashes\fR" 4 .IX Item "@Hashes" .ie n .IP "@Filehandles" 4 .el .IP "\f(CW@Filehandles\fR" 4 .IX Item "@Filehandles" .ie n .IP "@Functions" 4 .el .IP "\f(CW@Functions\fR" 4 .IX Item "@Functions" .PD The above are lists of variables, special file handles, and built in functions. .ie n .IP "@Symbols" 4 .el .IP "\f(CW@Symbols\fR" 4 .IX Item "@Symbols" This is just the combination of all of the above: variables, file handles, and functions. .ie n .IP "@Barewords" 4 .el .IP "\f(CW@Barewords\fR" 4 .IX Item "@Barewords" This is a list of other special keywords in perl including operators and all the control structures. .ie n .IP "@BarewordsExtra" 4 .el .IP "\f(CW@BarewordsExtra\fR" 4 .IX Item "@BarewordsExtra" This is a list of barewords which are missing from keywords.h, handled extra in the tokenizer. .ie n .IP "@TieIOMethods" 4 .el .IP "\f(CW@TieIOMethods\fR" 4 .IX Item "@TieIOMethods" Those are special tie or PerlIO methods called by the perl core, namely for tieing or PerlIO::via (or both of those) or threads. .ie n .IP "@UNIVERSALMethods" 4 .el .IP "\f(CW@UNIVERSALMethods\fR" 4 .IX Item "@UNIVERSALMethods" Methods defined by the core package \s-1UNIVERSAL.\s0 .ie n .IP "@ExporterSymbols" 4 .el .IP "\f(CW@ExporterSymbols\fR" 4 .IX Item "@ExporterSymbols" 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. .SH "EXPORT" .IX Header "EXPORT" Anything can be exported if you desire. Use the :all tag to get everything. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIregen/keywords.pl\fR from the perl source, perlvar, perlfunc, perldelta. .SH "BUGS" .IX Header "BUGS" Please report any bugs or feature requests to \f(CW\*(C`bug\-B\-Keywords at rt.cpan.org\*(C'\fR, or through the web interface at . I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. .SH "SUPPORT" .IX Header "SUPPORT" You can find documentation for this module with the perldoc command. .PP .Vb 1 \& perldoc B::Keywords .Ve .PP You can also look for information at: .IP "\(bu" 4 \&\s-1RT: CPAN\s0's request tracker .Sp .IP "\(bu" 4 \&\s-1GIT\s0 repository .Sp .IP "\(bu" 4 AnnoCPAN: Annotated \s-1CPAN\s0 documentation .Sp .IP "\(bu" 4 \&\s-1CPAN\s0 Ratings .Sp .IP "\(bu" 4 Search \s-1CPAN\s0 .Sp .SH "ACKNOWLEDGEMENTS" .IX Header "ACKNOWLEDGEMENTS" Michael G Schwern, Reini Urban, Florian Ragwitz and Zsbán Ambrus for patches and releases. .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" Copyright 2009 Joshua ben Jore, All rights reserved. Copyright 2013, 2015, 2017\-2021 Reini Urban, All rights reserved. .PP This program is free software; you can redistribute it and/or modify it under the terms of either: .PP a) the \s-1GNU\s0 General Public License as published by the Free Software Foundation; version 2, or .PP b) the \*(L"Artistic License\*(R" which comes with Perl. .SH "SOURCE AVAILABILITY" .IX Header "SOURCE AVAILABILITY" This source is in Github: .SH "AUTHOR" .IX Header "AUTHOR" Joshua ben Jore .SH "MAINTAINER" .IX Header "MAINTAINER" Reini Urban