in reply to How to chgrp in perl?

You can use perl's chown to change the group.
Boris