aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad S Anwar <Mohammad.Anwar@yahoo.com>2019-10-04 22:29:49 +0100
committerGitHub <noreply@github.com>2019-10-04 22:29:49 +0100
commitf98c43edb2ad8cfd8982c271434fc2020dc19fb9 (patch)
tree4ca7920eeb7f11ade35732adcfcac9243765e07b
parent2073108cb9d137223f222e09d59b547cb8602ec4 (diff)
parent2c9f81e2725a96c57016ce1260000637bb459818 (diff)
downloadperlweeklychallenge-club-f98c43edb2ad8cfd8982c271434fc2020dc19fb9.tar.gz
perlweeklychallenge-club-f98c43edb2ad8cfd8982c271434fc2020dc19fb9.tar.bz2
perlweeklychallenge-club-f98c43edb2ad8cfd8982c271434fc2020dc19fb9.zip
Merge pull request #716 from choroba/ech28-1
Add solution to 028/1 and blog post link by E. Choroba
-rw-r--r--challenge-028/e-choroba/perl5/blog.txt1
-rwxr-xr-xchallenge-028/e-choroba/perl5/ch-1.pl7
2 files changed, 8 insertions, 0 deletions
diff --git a/challenge-028/e-choroba/perl5/blog.txt b/challenge-028/e-choroba/perl5/blog.txt
new file mode 100644
index 0000000000..70ca46db2f
--- /dev/null
+++ b/challenge-028/e-choroba/perl5/blog.txt
@@ -0,0 +1 @@
+http://blogs.perl.org/users/e_choroba/2019/10/perl-weekly-challenge-028-file-content-and-digital-clock.html
diff --git a/challenge-028/e-choroba/perl5/ch-1.pl b/challenge-028/e-choroba/perl5/ch-1.pl
new file mode 100755
index 0000000000..a7b82e99cb
--- /dev/null
+++ b/challenge-028/e-choroba/perl5/ch-1.pl
@@ -0,0 +1,7 @@
+#!/usr/bin/perl
+use warnings;
+use strict;
+use feature qw{ say };
+
+say 'The file content is ', (-T shift) ? 'ascii' : 'binary', '.';
+