in reply to print the status of the file

stat. Or File::stat.

But you can't get the created time, because Unix doesn't store that information.

my($accessed, $modified) = (stat "/foo/bar")[8, 9];
Or, using File::stat,
use File::stat; my $s = stat "/foo/bar"; print scalar localtime $s->atime;
You should get the idea.