Also, you might want to consider using the Readonly module.
duff
In reply to Re: problem with creating constants from scalar by duff in thread problem with creating constants from scalar by needperlhelp