Help language development. Donate to The Perl Foundation
File::Stat - Get file status
Implements a File::Stat class, and an exportable
stat function that will return a File::Stat object.
This object has methods that return the similarly named structure field name from the
stat(2) function; namely:
use File::Stat <stat>; say File::Stat.new(path => $?FILE).mode; say stat($?FILE).uid
This module is uses underlying NQP ops, and will likely function incorrectly on non-POSIX systems.