diff options
| author | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2023-03-13 10:29:34 +0100 |
|---|---|---|
| committer | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2023-03-23 18:03:40 +0100 |
| commit | 38b067e2ea056a4c80443c13ecba37230345a1a6 (patch) | |
| tree | be14252192c4d52b12ed9476e711e9ddba3d783f | |
| parent | bdd2ae08dab5171e0061f1cb568416c85f52ea0d (diff) | |
| download | perlweeklychallenge-club-38b067e2ea056a4c80443c13ecba37230345a1a6.tar.gz perlweeklychallenge-club-38b067e2ea056a4c80443c13ecba37230345a1a6.tar.bz2 perlweeklychallenge-club-38b067e2ea056a4c80443c13ecba37230345a1a6.zip | |
Challenge 010 task 1
| -rwxr-xr-x | challenge-010/jo-37/perl/ch-1.pl | 10 |
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); +} |
