Roman - Perl module for conversion between Roman and Arabic numerals.
use Roman; $arabic = arabic($roman) if isroman($roman); $roman = Roman($arabic); $roman = roman($arabic);
This package provides some functions which help conversion of numeric notation between Roman and Arabic.
Tests if argument is valid roman number
roman => arabic
arabic => roman
Same as Roman, lowercase
Domain of valid Roman numerals is limited to less than 4000, since proper Roman digits for the rest are not available in ASCII.
Please report any bugs or feature requests to
bug-roman /AT/ rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Roman. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
OZAWA Sakuro <ozawa at aisoft.co.jp> 1995-1997 Alexandr Ciornii,
<alexchorny at gmail.com> 2007
Copyright (c) 1995 OZAWA Sakuro. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.