[Israel.pm] enumerators in perl
Yuval Marsiano
yuval.marsiano at starcore-dsp.com
Sun Oct 24 03:49:23 PDT 2004
Hi,
Does perl has a way to make enum's or constant definitions as in C?
for example in C we have:
-------------------------
enum OPERATION_KIND
{
TEST_EXE,
TEST_EXE_DB,
NO_OPERATION
};
-------------------------
or
-------------------------
# define TOKEN_NEW_LINE 257
-------------------------
Thanks
=============================
Yuval Marsiano, Staff Engineer
StarCore LLC
* Tel : +972 (3) 558-3313 Ext. 3094
* Mobile : +972 (54) 452-1582
* Fax : +972 (3) 558-3308
=============================
More information about the Perl
mailing list