Digests are much longer than inode numbers can possibly be (*), so it's
not necessary to distinguish between them.
(*) Yes you could have a hypothetical filesystem with 256-bit inode
numbers, but you'd have to adjust Perl and the size of 'Q' first.
Either way, you're changing this code anyway.