aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-107/james-smith/perl/Calc_Require.pm2
-rw-r--r--challenge-107/james-smith/perl/ch-2.pl5
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::;