Jérôme Quelin

NAME

Language::Befunge::IP::lib::ROMA - Roman numerals extension

DESCRIPTION

The ROMA fingerprint (0x524f4d41) allows to get standard values of roman numbers. Note that the new instructions will just push digits, you still have to do the arithmetic yourself. Executing MCMLXXXIV will not leave 1984 on the stack. But executing MCM\-+LXXX+++IV\-++ should.

FUNCTIONS

new

Create a new ROMA instance.

Roman numbers

C D I L M V X

Push the corresponding roman value (M=1000, D=500, etc.) onto the stack.

SEE ALSO

Language::Befunge, http://catseye.tc/projects/funge98/library/ROMA.html.

AUTHOR

Jerome Quelin, <jquelin@cpan.org>

COPYRIGHT & LICENSE

Copyright (c) 2001-2009 Jerome Quelin, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.