diff options
Diffstat (limited to 'challenge-031/jo-37/perl/ch-1.pl')
| -rwxr-xr-x | challenge-031/jo-37/perl/ch-1.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/challenge-031/jo-37/perl/ch-1.pl b/challenge-031/jo-37/perl/ch-1.pl new file mode 100755 index 0000000000..e705298018 --- /dev/null +++ b/challenge-031/jo-37/perl/ch-1.pl @@ -0,0 +1,8 @@ +#!/usr/bin/perl + +use v5.16; +use warnings; + +my $div = eval {$ARGV[0] / $ARGV[1]}; +say $@ ? $@ : $div; +say "done."; |
