Mohammed Shameer wrote: > From perldoc, > stat function returns a 13 element list > I think > my $perms = stat($conffile) > will not work as you expect.
Please read the documentation for the File::stat module to see why this does indeed work. perldoc File::stat John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>