module with commonly used constants?
am 09.02.2006 07:02:06 von none
Someone once told me that there is either a perl module with commonly
used constants or a method of using commonly used constants.
I am building a module which requires constants for determining if a
value is an integer, and email address, a url, etc. Is there a module
out there that already contains a large number of commonly used
constants?
Re: module with commonly used constants?
am 09.02.2006 08:40:03 von John Bokma
"none" wrote:
> Someone once told me that there is either a perl module with commonly
> used constants or a method of using commonly used constants.
>
> I am building a module which requires constants for determining if a
> value is an integer, and email address, a url, etc. Is there a module
> out there that already contains a large number of commonly used
> constants?
I guess you mean:
http://search.cpan.org/search?query=regex%3A%3Acommon&mode=a ll
A constant is something like 2
You probably mean a regexp to check if something is an integer, etc.
--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
I ploink googlegroups.com :-)