Skip to content

Return btime when calling stat #24070

@benmccann

Description

@benmccann

Module: stat

Description
Perl does not currently provide a way to get the file birth time. This limits programs written in perl — such as the popular ExifTool program — that might utilize this functionality, but instead have to rely on other fields such as mtime or ctime

Steps to Reproduce
See the docs: https://perldoc.perl.org/functions/stat does not return btime

Expected behavior
Return btime: https://man7.org/linux/man-pages/man2/statx.2.html

Perl configuration
All

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions