my %h = ( sub { return sprintf ("0x%x", shift) }, sub { return sprintf ("%b", shift) }, sub { return sprintf ("%d", shift) }, );