in reply to Re: stat and File::stat question for $modein thread stat and File::stat question for $mode
#!/usr/bin/perl use File::stat; $statTry=stat("testStat"); printf("The value for stat is => %04o\n ", $statTry->mode&0777 ); print("\n"); [download]