How to get list of user into an array in perl script

Hi,

cut -d: -f1,3 /etc/group >rpt.out

I have a doubt in perl. right i am getting list of group user id into rpt.out file. instead i need to store it as an array in perl script. could you please tell me how can i get list of user into an array in perl script..

thanks in advance.

Double post - continue here:

If you get an answer and it is not perl like you asked for, be so polite and tell the guy trying to help you what your requirement is, but do not just open up the same thread again!