in reply to Re: File/Dir Attributes
in thread File/Dir Attributes

Very KEWL!!! Thanks a ton, that just made it so much easier to do what I am wanting to do. Thanks again gellyfish, You ROCK!

Replies are listed 'Best First'.
Re^3: File/Dir Attributes
by gellyfish (Monsignor) on Jun 21, 2005 at 19:09 UTC

    I showed all of the values returned from stat for didactic purposes - if you just want the UID and GID you would be better to use an array slice:

    my ($uid,$gid) = (stat($filename))[4,5];

    /J\