open PASSWD, "ypcat passwd|"; while () { print; } close PASSWD; #### join(' ', @list); #### print @nis_passwd;