in reply to File/Dir Attributes
Yep, you want to look at the stat builtin function:
my $filename = $ARGV[0]; + my ( $dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks ) = stat($filename); + print "UID: $uid\nGID: $gid\n";
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File/Dir Attributes
by onegative (Scribe) on Jun 21, 2005 at 19:01 UTC | |
by gellyfish (Monsignor) on Jun 21, 2005 at 19:09 UTC | |
|
Re^2: File/Dir Attributes
by shekarkcb (Beadle) on Aug 03, 2009 at 15:18 UTC | |
by toolic (Bishop) on Aug 03, 2009 at 15:27 UTC |