diff options
| author | Mohammad S Anwar <Mohammad.Anwar@yahoo.com> | 2019-10-05 03:44:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-05 03:44:19 +0100 |
| commit | b8b7596131444de979ea319c1d6c7137e928d379 (patch) | |
| tree | 1adb4805de25f929e55ad5df4a6a9d1c242ddcb9 | |
| parent | b42926fcd488f3570a7a43376c3d1312daa19488 (diff) | |
| parent | 9af28319b85b61fe41266fcf8ffa9cb3424fb9e7 (diff) | |
| download | perlweeklychallenge-club-b8b7596131444de979ea319c1d6c7137e928d379.tar.gz perlweeklychallenge-club-b8b7596131444de979ea319c1d6c7137e928d379.tar.bz2 perlweeklychallenge-club-b8b7596131444de979ea319c1d6c7137e928d379.zip | |
Merge pull request #718 from jmaslak/joelle-28-2-2
Joelle's solution to 28.2 in P5
| -rwxr-xr-x | challenge-028/joelle-maslak/perl5/ch-2.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/challenge-028/joelle-maslak/perl5/ch-2.pl b/challenge-028/joelle-maslak/perl5/ch-2.pl new file mode 100755 index 0000000000..fd12303a28 --- /dev/null +++ b/challenge-028/joelle-maslak/perl5/ch-2.pl @@ -0,0 +1,8 @@ +#!/usr/bin/env perl +use v5.10; +use strict; +use warnings; + +# Sorry, couldn't resist doing *something* more than the more obvious +# solutions... +say join( ":", map { sprintf "%02d", $_ } reverse( (localtime)[ 0 .. 2 ] ) ); |
