Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: how to retrieve owner information of the file ?

by sub_chick (Hermit)
on Jan 16, 2006 at 18:48 UTC ( [id://523569]=note: print w/replies, xml ) Need Help??


in reply to how to retrieve owner information of the file ?

Would you happen to have a code that you started or show at which point you are experiencing an issue?


Es gibt mehr im Leben als Bücher, weißt du. Aber nicht viel mehr. - (Die Smiths)"
  • Comment on Re: how to retrieve owner information of the file ?

Replies are listed 'Best First'.
Re^2: how to retrieve owner information of the file ?
by devlele (Novice) on Jan 16, 2006 at 19:23 UTC
    Currently I am using  @Stats = stat($_); $owner = $Stats[4]; so to get owner info in $owner but what I get is "0". I used a function "getpwunam" to convert it into name but it didn't work. Do you know any other way which will work ??

    Please Help.

    Thanks.
      sub_chick put it very tactfully:   "Would you happen to have a code that you started or show at which point you are experiencing an issue?"

      Now, somewhat more bluntly:
      Naming a function is not the same as providing some code. Yes, as in your first answer, an obviously wrong function might help us help you, but even assuming you've selected the correct function, the code itself may be beset with errors.

      (and before you post, you may want to be sure to 'use strict;' and 'use warnings' just to make sure you don't have a typo or suchlike)
Re^2: how to retrieve owner information of the file ?
by devlele (Novice) on Jan 16, 2006 at 19:25 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-24 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found