1PPIx::Regexp::Support(3U)ser Contributed Perl DocumentatiPoPnIx::Regexp::Support(3)
2
3
4

NAME

6       PPIx::Regexp::Support - Basis for the PPIx::Regexp support classes
7

SYNOPSIS

9        use PPIx::Regexp::Dumper;
10        PPIx::Regexp::Dumper->new( 'qr{foo}smx' )
11            ->print();
12

INHERITANCE

14       "PPIx::Regexp::Support" is not descended from any other class.
15
16       "PPIx::Regexp::Support" is the parent of PPIx::Regexp::Dumper,
17       PPIx::Regexp::Lexer and PPIx::Regexp::Tokenizer.
18

DESCRIPTION

20       This abstract class provides methods for the "PPIx::Regexp" support
21       classes.
22

METHODS

24       This class provides the following public methods. Methods not
25       documented here are private, and unsupported in the sense that the
26       author reserves the right to change or remove them without notice.
27
28   close_bracket
29       This method takes as its argument a character. If this character is an
30       open bracket the corresponding close bracket is returned. Otherwise
31       "undef" is returned. Only the ASCII bracket characters are considered
32       brackets: (), {}, [], and <>.
33
34   decode
35       This method wraps the Encode::decode subroutine. If the object
36       specifies no encoding or encode_available() returns false, this method
37       simply returns its input string.
38
39   encode
40       This method wraps the Encode::encode subroutine. If the object
41       specifies no encoding or encode_available() returns false, this method
42       simply returns its input string.
43
44   encode_available
45       This method returns true if the Encode module is available, and false
46       otherwise. If it returns true, the Encode module has actually been
47       loaded.
48

SUPPORT

50       Support is by the author. Please file bug reports at
51       <https://rt.cpan.org>, or in electronic mail to the author.
52

AUTHOR

54       Thomas R. Wyant, III wyant at cpan dot org
55
57       Copyright (C) 2009-2020 by Thomas R. Wyant, III
58
59       This program is free software; you can redistribute it and/or modify it
60       under the same terms as Perl 5.10.0. For more details, see the full
61       text of the licenses in the directory LICENSES.
62
63       This program is distributed in the hope that it will be useful, but
64       without any warranty; without even the implied warranty of
65       merchantability or fitness for a particular purpose.
66
67
68
69perl v5.32.0                      2020-07-29          PPIx::Regexp::Support(3)
Impressum