in reply to Problems with unix groups
Look at variables $( and $) in perldoc perlvar.
Aaron B. My Woefully Neglected Blog, where I occasionally mention Perl.