in reply to Enum

They're not really necessary most of the time, since you can just set a scalar to a string without having to worry about giving it a mnemonic value: For instance, instead of defining an enum and then writing Of course, numerical comparisons will be faster than string comparisons, so if you are examining many such values (e.g. in an extended chain of elsif's) then