aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Shared.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AdminPanel/Shared.pm')
-rw-r--r--lib/AdminPanel/Shared.pm23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/AdminPanel/Shared.pm b/lib/AdminPanel/Shared.pm
index f435c6ac..6eb6edb5 100644
--- a/lib/AdminPanel/Shared.pm
+++ b/lib/AdminPanel/Shared.pm
@@ -86,6 +86,7 @@ our @EXPORT = qw(
trim
md5sum
pathList2hash
+ distName
);
@@ -98,6 +99,28 @@ Version 0.01
our $VERSION = '0.01';
+#=============================================================
+
+=head2 distName
+
+=head3 OUTPUT
+
+$distname: name of the distributed package
+
+=head3 DESCRIPTION
+
+This function return the distname, useful to retrieve data
+with File::ShareDir::dist_file and must be the same as into
+Makefile.PL (e.g. adminpanel)
+
+=cut
+
+#=============================================================
+
+sub distName {
+ return "adminpanel";
+}
+
#=============================================================