perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject modperl_require_module failing silently
Date Fri, 23 May 2003 14:41:10 GMT
hi again

   I'm finding it very difficult to resolve module errors without this patch.

--Geoff

Index: src/modules/perl/modperl_mgv.c
===================================================================
RCS file: /home/cvspublic/modperl-2.0/src/modules/perl/modperl_mgv.c,v
retrieving revision 1.25
diff -u -r1.25 modperl_mgv.c
--- src/modules/perl/modperl_mgv.c      17 Apr 2003 08:04:47 -0000      1.25
+++ src/modules/perl/modperl_mgv.c      23 May 2003 14:29:03 -0000
@@ -264,7 +264,7 @@
          MP_TRACE_h(MP_FUNC,
                     "package %s not defined, attempting to load\n", name);

-        if (modperl_require_module(aTHX_ name, FALSE)) {
+        if (modperl_require_module(aTHX_ name, TRUE)) {
              MP_TRACE_h(MP_FUNC, "loaded %s package\n", name);
              if (!(stash = gv_stashpv(name, FALSE))) {
                  MP_TRACE_h(MP_FUNC, "%s package still does not exist\n",


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message