view bin/toroman @ 12236:086bdf39050e draft

<b_jonas> addwhatis @(1hackeso) - run a command but address an irc user with the output
author HackEso <hackeso@esolangs.org>
date Thu, 05 Dec 2019 21:04:03 +0000
parents 359ed0766a70
children
line wrap: on
line source

#!/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,$/