In UNIX a popular tool for getting names from i-numbers is ncheck(1). Under Linux it is part of debugfs(8). To get the i-node information, you can use stat(1). If you use the -t option the output can be parsed by perl quite easily. Of course, I'd use perl's own
stat to get the i-number in a perl script...
HTH, --traveler