For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > February 2006 > module with commonly used constants?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author module with commonly used constants?
none

2006-02-09, 3:55 am

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?

John Bokma

2006-02-09, 3:55 am

"none" <dtiberio5@hotmail.com> 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...common&mode=all

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 :-)

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com