aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-002/abigail/perl/ch-1.pl20
1 files changed, 20 insertions, 0 deletions
diff --git a/challenge-002/abigail/perl/ch-1.pl b/challenge-002/abigail/perl/ch-1.pl
new file mode 100644
index 0000000000..08572c9fa6
--- /dev/null
+++ b/challenge-002/abigail/perl/ch-1.pl
@@ -0,0 +1,20 @@
+#!/opt/perl/bin/perl
+
+use 5.032;
+
+use strict;
+use warnings;
+no warnings 'syntax';
+
+use experimental 'signatures';
+use experimental 'lexical_subs';
+
+#
+# See ../README.md
+#
+
+#
+# Run as: perl ch-1.pl < input-file
+#
+
+say 0 + $_ for <>;