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.
| [reply] [d/l] |
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)
| [reply] |
| [reply] |