Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: File/Dir Attributes

by onegative (Scribe)
on Jun 21, 2005 at 19:01 UTC ( [id://468787]=note: print w/replies, xml ) Need Help??


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\

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://468787]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-19 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found