Visual Basic has a construct called Enum which looks like so:

Enum namea
        dhbold
        dhcaption
        dhend
        dhform
.....
end enum

What it essentially does is assign an incrementing numeric value to each
variable in the enum, so that 
dhbold = 1
dhcaption = 2
dhend = 3
dh form = 4
etc.

Is there a way to do the same thing easily in Perl?


.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to