Roman(3pm)
ποΈ NAME ποΈ
okay bestie, listen β Roman is the module, and it's literally just functions for converting between Roman and Arabic numerals. that's the whole vibe. it's giving ancient Rome meets modern perl. π
so the manual name is Roman(3pm), in case you were wondering what page you're on π«Ά
β¨ VERSION β¨
Version 1.24 β that's the one, no cap. π
π SYNOPSIS π
okay here's the whole thing in action, look:
use Roman;
$arabic = arabic($roman) if isroman($roman);
$roman = Roman($arabic);
$roman = roman($arabic);
see? three little lines and you're converting like a main character π
π¦ DESCRIPTION π¦
so this package ships some functions that help you convert numeric notation back and forth between Roman and Arabic. that's it, that's the gig. it's a tiny little module and honestly? iconic for it. πΈ
π Functions
π₯ isroman
Tests if argument is valid roman number. like a little vibe check for your numeral, fr fr.
π arabic
roman => arabic. goes one way, slays while doing it.
β Roman
arabic => roman. goes the other way. also slays.
π roman
Same as Roman, lowercase. lowercase bestie, lowercase energy, we love to see it. π«Ά
π BUGS π
okay so, heads up, this is the part where you pay attention:
- Domain of valid Roman numerals is limited to less than 4000, since proper Roman digits for the rest are not available in ASCII. so like. past 3999 there's just... nothing. ASCII said no. π
- 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. (yes, the author WILL know. they'll be notified. then YOU'll be notified. a whole little chain of notifying. we love accountability β¨)
π SEE ALSO π
sibling modules, the whole Roman-numeral cinematic universe:
Text::Romanβ also handles conversion between Arabic and Roman numerals, but can handle a larger range than this module. overachiever behavior tbh.Math::Romanβ another module for converting between Arabic and Roman numerals.Convert::Number::Romanβ handles the same conversion, but also lets you specify upper or lower case. fancy πRoman::Unicodeβ make Roman numerals, using Unicode characters. unicode girlies rise π§
π«Ά SUPPORT π«Ά
you can find documentation for this module with the perldoc command. just:
perldoc Roman
you can also look for information at:
- AnnoCPAN: Annotated CPAN documentation
- CPAN Ratings
- RT: CPAN's request tracker
- Search CPAN
π AUTHOR π
OZAWA Sakuro <ozawa at aisoft.co.jp> 1995-1997 Alexandr Ciornii, "<alexchorny at gmail.com>" 2007
two legends. decades apart. both icons. π
π COPYRIGHT π
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.
so like β free, open, do your thing, just respect the terms, periodt. π
and that's the page bestie!! this was perl v5.36.0, dated 2022-10-13, and the page itself is Roman(3pm). go forth and convert numerals, you absolute scholar πβ¨π
π¦ where this page comes from
- ubuntu noble: libroman-perl 1.24-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libroman-perl 1.24-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libroman-perl 1.24-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms