| 1 | #============================================================= -*-Perl-*- | ||
| 2 | # | ||
| 3 | # Pod::POM::Constants | ||
| 4 | # | ||
| 5 | # DESCRIPTION | ||
| 6 | # Constants used by Pod::POM. | ||
| 7 | # | ||
| 8 | # AUTHOR | ||
| 9 | # Andy Wardley <abw@kfs.org> | ||
| 10 | # Andrew Ford <a.ford@ford-mason.co.uk> | ||
| 11 | # | ||
| 12 | # COPYRIGHT | ||
| 13 | # Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved. | ||
| 14 | # Copyright (C) 2009 Andrew Ford. All Rights Reserved. | ||
| 15 | # | ||
| 16 | # This module is free software; you can redistribute it and/or | ||
| 17 | # modify it under the same terms as Perl itself. | ||
| 18 | # | ||
| 19 | # REVISION | ||
| 20 | # $Id: Constants.pm 89 2013-05-30 07:41:52Z ford $ | ||
| 21 | # | ||
| 22 | #======================================================================== | ||
| 23 | |||
| 24 | package Pod::POM::Constants; | ||
| 25 | 18 | $Pod::POM::Constants::VERSION = '2.01'; | |
| 26 | 18 | require 5.006; | |
| 27 | |||
| 28 | 18 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 29 | 18 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 30 | |||
| 31 | 18 | ▶ | use parent qw( Exporter ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 32 | |||
| 33 | 18 | our @SEQUENCE = qw( CMD LPAREN RPAREN FILE LINE CONTENT ); | |
| 34 | 18 | our @STATUS = qw( IGNORE REDUCE REJECT ); | |
| 35 | 18 | our @EXPORT_OK = ( @SEQUENCE, @STATUS ); | |
| 36 | 18 | our %EXPORT_TAGS = ( | |
| 37 | status => [ @STATUS ], | ||
| 38 | seq => [ @SEQUENCE ], | ||
| 39 | all => [ @STATUS, @SEQUENCE ], | ||
| 40 | ); | ||
| 41 | |||
| 42 | # sequence items | ||
| 43 | 18 | ▶ | use constant CMD => 0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 44 | 18 | ▶ | use constant LPAREN => 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 45 | 18 | ▶ | use constant RPAREN => 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 46 | 18 | ▶ | use constant FILE => 3; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 47 | 18 | ▶ | use constant LINE => 4; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 48 | 18 | ▶ | use constant CONTENT => 5; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 49 | |||
| 50 | # node add return values | ||
| 51 | 18 | ▶ | use constant IGNORE => 0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 52 | 18 | ▶ | use constant REDUCE => 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 53 | 18 | ▶ | use constant REJECT => 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 54 | |||
| 55 | |||
| 56 | 18 | 1; | |
| 57 | |||
| 58 | =head1 NAME | ||
| 59 | |||
| 60 | Pod::POM::Constants - constants used for Pod::POM | ||
| 61 | |||
| 62 | =head1 DESCRIPTION | ||
| 63 | |||
| 64 | Constants used by Pod::POM. | ||
| 65 | |||
| 66 | =head1 AUTHOR | ||
| 67 | |||
| 68 | Andy Wardley E<lt>abw@kfs.orgE<gt> | ||
| 69 | |||
| 70 | Andrew Ford E<lt>a.ford@ford-mason.co.ukE<gt> | ||
| 71 | |||
| 72 | =head1 COPYRIGHT AND LICENSE | ||
| 73 | |||
| 74 | Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved. | ||
| 75 | |||
| 76 | Copyright (C) 2009 Andrew Ford. All Rights Reserved. | ||
| 77 | |||
| 78 | This module is free software; you can redistribute it and/or | ||
| 79 | modify it under the same terms as Perl itself. | ||
| 80 | |||
| 81 | =cut | ||