1 #============================================================= -*-Perl-*-
6 # Constants used by Pod::POM.
9 # Andy Wardley <abw@kfs.org>
10 # Andrew Ford <a.ford@ford-mason.co.uk>
13 # Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
14 # Copyright (C) 2009 Andrew Ford. All Rights Reserved.
16 # This module is free software; you can redistribute it and/or
17 # modify it under the same terms as Perl itself.
20 # $Id: Constants.pm 78 2009-08-20 20:44:53Z ford $
22 #========================================================================
24 package BASIS::Pod::POM::Constants;
30 use vars qw( $VERSION @SEQUENCE @STATUS @EXPORT_OK %EXPORT_TAGS );
31 use parent qw( Exporter );
33 $VERSION = sprintf("%d.%02d", q$Revision: 1.1.1.1 $ =~ /(\d+)\.(\d+)/);
34 @SEQUENCE = qw( CMD LPAREN RPAREN FILE LINE CONTENT );
35 @STATUS = qw( IGNORE REDUCE REJECT );
36 @EXPORT_OK = ( @SEQUENCE, @STATUS );
38 status => [ @STATUS ],
40 all => [ @STATUS, @SEQUENCE ],
44 use constant CMD => 0;
45 use constant LPAREN => 1;
46 use constant RPAREN => 2;
47 use constant FILE => 3;
48 use constant LINE => 4;
49 use constant CONTENT => 5;
51 # node add return values
52 use constant IGNORE => 0;
53 use constant REDUCE => 1;
54 use constant REJECT => 2;
65 Constants used by Pod::POM.
69 Andy Wardley E<lt>abw@kfs.orgE<gt>
71 Andrew Ford E<lt>a.ford@ford-mason.co.ukE<gt>
73 =head1 COPYRIGHT AND LICENSE
75 Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
77 Copyright (C) 2009 Andrew Ford. All Rights Reserved.
79 This module is free software; you can redistribute it and/or
80 modify it under the same terms as Perl itself.