Please forgive my ignorance O' Great Monks,
But is there a function or Module that will give me directory attributes such as owner,UID/GID/ect.. without having to issue system commands to extract the information instead of the below code???
Many thanks O' Magnificant Ones
#!/usr/bin/perl -w
#pass a directory to script
use strict;
my $ownergroup=`ls -ld $ARGV[0]\| awk '{print \$3":"\$4}'`;
print $ownergroup;