tracks/perl5/exercises/hello-world/.meta/solutions/HelloWorld.pm in trackler-2.2.1.131 vs tracks/perl5/exercises/hello-world/.meta/solutions/HelloWorld.pm in trackler-2.2.1.132
- old
+ new
@@ -1,8 +1,10 @@
# Declare package 'HelloWorld' with version
-package HelloWorld 1;
+package HelloWorld 2;
use strict;
use warnings;
+use Exporter 'import';
+our @EXPORT_OK = qw(hello);
sub hello {
return 'Hello, World!';
}