in reply to passing an array to a checkbox_group
What you need to do is split $str:
@array = split/,/, $str;
This will give you the array of values you are looking for.
Guy