Thanks,
Yes the data is coming from a web page. At this point I was only trying to use one checkbox. Using a checkbox just seemed better for the user interface.
I have added these names "status","shift" to @fields as mentioned.
I am new to perl, what is the method param of object $q and how do I know If it is correct?