in reply to owner of a file

perldoc -f -X returns...
-o File is owned by effective uid
-O File is owned by real uid.

--
Tommy
Too stupid to live.
Too stubborn to die.

Replies are listed 'Best First'.
Re: Re: owner of a file
by grummerX (Pilgrim) on Aug 15, 2002 at 15:15 UTC
    -O is a file test operator -- it will return either a 1 or "" (or undefined if the file doesn't exist), not the actual UID.

    Update:
    /me is far too hasty. tommyw is right, this does suit the original question.

    -- grummerX

      What? You mean like the original question asked?

      --
      Tommy
      Too stupid to live.
      Too stubborn to die.