in reply to Re: getpwnam() password
in thread getpwnam() password

That's how I'd do it, but shouldn't line two be
while(<SHADOW>) {