diff options
| author | drbaggy <js5@sanger.ac.uk> | 2021-04-06 09:29:40 +0100 |
|---|---|---|
| committer | drbaggy <js5@sanger.ac.uk> | 2021-04-06 09:29:40 +0100 |
| commit | 6262a8a0e3889940110042c265c2615b68432d85 (patch) | |
| tree | 3f4ec4488fa8c5a7dd6115bb42b69717cec511f9 /challenge-107 | |
| parent | 2b79dbff795727e5ee8227de995c0cc27a92db34 (diff) | |
| download | perlweeklychallenge-club-6262a8a0e3889940110042c265c2615b68432d85.tar.gz perlweeklychallenge-club-6262a8a0e3889940110042c265c2615b68432d85.tar.bz2 perlweeklychallenge-club-6262a8a0e3889940110042c265c2615b68432d85.zip | |
fix module name & tidy output
Diffstat (limited to 'challenge-107')
| -rw-r--r-- | challenge-107/james-smith/perl/Calc_Require.pm | 2 | ||||
| -rw-r--r-- | challenge-107/james-smith/perl/ch-2.pl | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/challenge-107/james-smith/perl/Calc_Require.pm b/challenge-107/james-smith/perl/Calc_Require.pm index 4123090fde..e6dc814783 100644 --- a/challenge-107/james-smith/perl/Calc_Require.pm +++ b/challenge-107/james-smith/perl/Calc_Require.pm @@ -1,4 +1,4 @@ -package Calc; +package Calc_Require; use strict; use warnings; diff --git a/challenge-107/james-smith/perl/ch-2.pl b/challenge-107/james-smith/perl/ch-2.pl index 7cb40e74a7..bf00dba212 100644 --- a/challenge-107/james-smith/perl/ch-2.pl +++ b/challenge-107/james-smith/perl/ch-2.pl @@ -19,6 +19,7 @@ use Calc_Use; ## import method added to the class... (and so get the same ## list of fns as in the question) -say "Calc_Require:\n",join "\n ", sort keys %Calc_Require::; -say "Calc_Use:\n",join "\n ", sort keys %Calc_Use::; +say join "\n ",'Calc_Require:', sort keys %Calc_Require::; +say ''; +say join "\n ",'Calc_Use:', sort keys %Calc_Use::; |
