Mercurial > repo
changeset 11606:6177c1938da6 draft
<oerjan> revert
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Tue, 21 Aug 2018 11:21:39 +0000 |
parents | 850795428cd0 |
children | 39cdfd040d02 |
files | bin/toroman |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/toroman Tue Aug 21 11:21:21 2018 +0000 +++ b/bin/toroman Tue Aug 21 11:21:39 2018 +0000 @@ -1,2 +1,2 @@ #!/usr/bin/perl -sub k{my$t;$t=~y/IVXLCDM/XLCDMEE/,$t.=("",I,II,III,IV,V,VI,VII,VIII,IX)[$_]for/./g;$t~s/.*E.*/Number too large;/$t}$_=(shift=~/(\w+)/)[0];print k,$/ +sub k{my$t;$t=~y/IVXLCDM/XLCDMEE/,$t.=("",I,II,III,IV,V,VI,VII,VIII,IX)[$_]for/./g;$t}$_=(shift=~/(\w+)/)[0];print k,$/