in reply to Authenticating users against NIS+
$homedir=(getpwnam ("foo"))[7];
This would return the home directory of user "foo" for example.
Be more specific and give us some details though, there may be a better way to handle what you're doing.
~~ naChoZ
naChoZ