aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchallenge-010/jo-37/perl/ch-1.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/challenge-010/jo-37/perl/ch-1.pl b/challenge-010/jo-37/perl/ch-1.pl
new file mode 100755
index 0000000000..20f2fd70a3
--- /dev/null
+++ b/challenge-010/jo-37/perl/ch-1.pl
@@ -0,0 +1,10 @@
+#!/usr/bin/perl -s
+
+use v5.16;
+use warnings;
+use Roman;
+
+main: {
+ my $input = shift;
+ say isroman($input) ? arabic($input) : Roman($input);
+}