diff options
| author | Mohammad S Anwar <Mohammad.Anwar@yahoo.com> | 2019-10-21 12:07:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-21 12:07:46 +0100 |
| commit | dbf4d5ec17b924e85ef0b02c57987e7fb9770df3 (patch) | |
| tree | 937390808de7c5ce4b3e73c8951f27001b1d28f9 | |
| parent | ccd5d7db59aca5b0d53ef5fae3578ff38283cfc9 (diff) | |
| parent | c8ed06a6ac9b21391ab165f4a7f897cd92e4df34 (diff) | |
| download | perlweeklychallenge-club-dbf4d5ec17b924e85ef0b02c57987e7fb9770df3.tar.gz perlweeklychallenge-club-dbf4d5ec17b924e85ef0b02c57987e7fb9770df3.tar.bz2 perlweeklychallenge-club-dbf4d5ec17b924e85ef0b02c57987e7fb9770df3.zip | |
Merge pull request #818 from k-mx/master
challenge-031.1 by Maxim Kolodyazhny
| -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; +} |
