diff options
| author | Gustavo L. de M. Chaves <gustavo@cpqd.com.br> | 2019-07-30 12:03:09 -0300 |
|---|---|---|
| committer | Gustavo L. de M. Chaves <gustavo@cpqd.com.br> | 2019-07-30 12:03:09 -0300 |
| commit | 22ab01e2270e02bdb0a0fff564d05b049cde22b5 (patch) | |
| tree | 7bc4175ff5a09ee9d5234ae95b6bd55777b5d090 /challenge-019 | |
| parent | f802fec690a5d1d1bf1ea2033b70e721e7195055 (diff) | |
| download | perlweeklychallenge-club-22ab01e2270e02bdb0a0fff564d05b049cde22b5.tar.gz perlweeklychallenge-club-22ab01e2270e02bdb0a0fff564d05b049cde22b5.tar.bz2 perlweeklychallenge-club-22ab01e2270e02bdb0a0fff564d05b049cde22b5.zip | |
Fix insertion of paragraph separator
Diffstat (limited to 'challenge-019')
| -rwxr-xr-x | challenge-019/gustavo-chaves/perl5/ch-2.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/challenge-019/gustavo-chaves/perl5/ch-2.pl b/challenge-019/gustavo-chaves/perl5/ch-2.pl index f4df867955..90a6847d9f 100755 --- a/challenge-019/gustavo-chaves/perl5/ch-2.pl +++ b/challenge-019/gustavo-chaves/perl5/ch-2.pl @@ -28,5 +28,6 @@ while (<>) { $line = $word; } } - say "$line\n" if length($line); + say $line if length($line); + say "\n"; } |
