From 43cd4fb9132ad166678c60909d2de3eacff39a12 Mon Sep 17 00:00:00 2001 From: Jörg Sommrey <28217714+jo-37@users.noreply.github.com> Date: Fri, 4 Oct 2024 13:21:34 +0200 Subject: Solution to task 2 --- challenge-289/jo-37/perl/ch-2.pl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 challenge-289/jo-37/perl/ch-2.pl diff --git a/challenge-289/jo-37/perl/ch-2.pl b/challenge-289/jo-37/perl/ch-2.pl new file mode 100755 index 0000000000..905b9034e9 --- /dev/null +++ b/challenge-289/jo-37/perl/ch-2.pl @@ -0,0 +1,17 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use List::Util 'shuffle'; + + +srand time; +while (<>) { + print s{ + (?