You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/08/23 07:41:10 UTC

[Bug 3717] New: loading plugins from outside of @INC doesn't work

http://bugzilla.spamassassin.org/show_bug.cgi?id=3717

           Summary: loading plugins from outside of @INC doesn't work
           Product: Spamassassin
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jm@jmason.org


'=item loadplugin PluginModuleName [/path/to/module.pm]

Load a SpamAssassin plugin module.  The C<PluginModuleName> is the perl module
name, used to create the plugin object itself.

C</path/to/module.pm> is the file to load, containing the module's perl code;
if it's specified as a relative path, it's considered to be relative to the
current configuration file.  If it is omitted, the module will be loaded
using perl's search path (the C<@INC> array).'

well, guess what -- somehow or other, the non-@INC case doesn't work; it can
never load the plugin, due to "do" not doing what perldoc perlfunc says it would.

fix on the way...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.