[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/ModulePath.pm.in: Add a comment warn
From: |
Gavin D. Smith |
Subject: |
branch master updated: * tp/Texinfo/ModulePath.pm.in: Add a comment warning against using the module more than once. |
Date: |
Tue, 22 Feb 2022 14:29:39 -0500 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 24d234e869 * tp/Texinfo/ModulePath.pm.in: Add a comment warning
against using the module more than once.
24d234e869 is described below
commit 24d234e869584c57b5bb5d33ef93b9002e3eb61e
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Feb 22 19:29:31 2022 +0000
* tp/Texinfo/ModulePath.pm.in: Add a comment warning against
using the module more than once.
---
ChangeLog | 5 +++++
tp/Texinfo/ModulePath.pm.in | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 3a83167f36..3d3790554f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-02-22 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/ModulePath.pm.in: Add a comment warning against
+ using the module more than once.
+
2022-02-22 Gavin Smith <gavinsmith0123@gmail.com>
Fix translation of messages with XS modules
diff --git a/tp/Texinfo/ModulePath.pm.in b/tp/Texinfo/ModulePath.pm.in
index 75f13b89d1..52282b0455 100644
--- a/tp/Texinfo/ModulePath.pm.in
+++ b/tp/Texinfo/ModulePath.pm.in
@@ -2,6 +2,10 @@
#
# Add directories to @INC, Perl's module search path, to find modules,
# either in the source or build directories.
+#
+# 'use Texinfo::ModulePath' should only occur once per program so that
+# the initialization is only done once. This makes the way this module
+# is used very unusual.
package Texinfo::ModulePath;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/ModulePath.pm.in: Add a comment warning against using the module more than once.,
Gavin D. Smith <=