| Class-MethodMaker documentation | Contained in the Class-MethodMaker distribution. |
Class::MethodMaker::Constants
Email the development mailing list class-mmaker-devel@lists.sourceforge.net
Martyn J. Pearce
Copyright (c) 2003 Martyn J. Pearce. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Class-MethodMaker documentation | Contained in the Class-MethodMaker distribution. |
# (X)Emacs mode: -*- cperl -*- package Class::MethodMaker::Constants;
# ---------------------------------------------------------------------------- # Pragmas ----------------------------- require 5.006; use strict; use warnings; use base qw( Exporter ); our @EXPORT_OK = qw( INTEGER ); # ---------------------------------------------------------------------------- # CLASS METHODS -------------------------------------------------------------- # ------------------------------------- # CLASS CONSTANTS # -------------------------------------
use constant INTEGER => '+INTEGER'; # Prefix to ensure clients don't just # assume the string: this value may well # change in the future # ----------------------------------------------------------------------------
1; # keep require happy. __END__