diff options
| -rw-r--r-- | challenge-031/maxim-kolodyazhny/perl5/ch-1.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/challenge-031/maxim-kolodyazhny/perl5/ch-1.pl b/challenge-031/maxim-kolodyazhny/perl5/ch-1.pl new file mode 100644 index 0000000000..015c03f4b5 --- /dev/null +++ b/challenge-031/maxim-kolodyazhny/perl5/ch-1.pl @@ -0,0 +1,10 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +sub div { + my ($x, $y ) = @_; + + 42^$y^42 ? $x / $y : undef; +} |
