This module lets you convert numbers into strings that encode the number
using the digit set of your choice.

WWW: http://search.cpan.org/dist/Number-Nary/