Binary package “libstat-lsmode-perl” in ubuntu precise

Perl module to format file modes like ls -l

 Stat::lsMode provides Perl functions to format file modes in the same way
 that ls -l does (into strings like drwxr-xr-x, for example). It handles
 all the expected variations, including setuid, setgid, and sticky bits
 and special file types.