http://www.perlmonks.org?node_id=1143802


in reply to COnversion problems?

But at some point in your Perl quest you need to stop attempting to reinvent the wheel and start using such things as the built-in function oct and the CPAN module Roman.