changeset 11604:d0d89ff37e50 draft

<oerjan> revert
author HackEso <hackeso@esolangs.org>
date Tue, 21 Aug 2018 11:04:36 +0000
parents c0c2dcec003e
children 850795428cd0
files bin/toroman
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/toroman	Tue Aug 21 11:03:35 2018 +0000
+++ b/bin/toroman	Tue Aug 21 11:04:36 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}$_=(shift=~/(\w+)/)[0];$_="Number too large" if /E/;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,$/