Hanno Hecker skribis 2008-05-13 20:48 (+0200): > Plugins as perl packages (My::Plugin) must have at least one "::" in > their name (no problem, all plugins will probably have a > Qpsmtpd::Plugin:: and can not be loaded twice. Attempting to load these > twice would either overwrite the first or the second load will fail (I > haven't tried yet). The normal plugin's namespace is set at loading > time, while a packages namespace is set in it's "package My::Plugin;" > line.
This would be a simple matter of inheritance. On :N, generate a new package that inherits from the original. Of course, the plugin must then not use any variables for sharing data. (Should be documented) -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]> 1;