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?
Went to join the gridlock to see it
Held an eclipse party
Watched a live feed
I cn"t see tge kwubosd to amswr thus
I tried to see it, but 8000 miles of rock got in the way
Wanted to see it, but they wouldn't reschedule it
Read the book instead
Results (280 votes). Check out past polls.