File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
categories/wsg/beginner-2008 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 36
36
= end pod
37
37
38
38
my $ run-dir = $ * PROGRAM_NAME . IO . dirname ;
39
- my @ files = dir($ run-dir );
39
+ my @ files = dir($ run-dir ). sort ;
40
40
my $ output = $ run-dir ~ ' /newfile.txt' ;
41
41
$ output . IO . unlink if $ output . IO . e ;
42
42
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ subtest {
25
25
my @ authors = <unobe >;
26
26
my $ expected-output = q :to /EOD /;
27
27
Dulce et decorum est...
28
- "There is no such thing on earth as an uninteresting subject; the only
29
- T
30
28
"There have always been literate ignoramuses who have read too widely and not
31
29
3
30
+ "There is no such thing on earth as an uninteresting subject; the only
31
+ T
32
32
EOD
33
33
34
34
my $ name = $ problem ~ ' -' ~ @ authors [0 ] ~ ' .pl' ;
You can’t perform that action at this time.
0 commit comments