in reply to Restricting a scalar to certain values
The closest thing that I can think of is Data::Rlist. What you are asking sounds a bit like an enum. This discussion might be useful:
How can I create an enum type in Perl?
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (348 votes). Check out past polls.