in reply to Re^3: unix to perl questions
in thread unix to perl questions

Just to add to that: The case where the function returns a "defined but false" value is the user "root", who has a UID of 0.