in reply to mtime from magic filehandle

You need to call stat if you want stat's results.

$ perl -le'print((stat(".bashrc"))[9]);' 1244835383 $ perl -le'-x ".bashrc"; print((stat(_))[9]);' 1244835383