Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl: module integration #67

Open
faxm0dem opened this issue Jul 3, 2014 · 0 comments
Open

perl: module integration #67

faxm0dem opened this issue Jul 3, 2014 · 0 comments

Comments

@faxm0dem
Copy link
Contributor

faxm0dem commented Jul 3, 2014

Curently the perl destination tries to load the script given using the script() directive.
IMHO it would be nice to be able to use an existing module in @INC instead:

perl(
  module("My::SyslogNG::Module")
  value-pairs(
    deinit-func("bye")
    scope(nv-pairs)
  )
);

This would for instance implicitly set init-func("My::SyslogNG::Module::init") and semi-implicitly deinit-func("My::SyslogNG::Module::bye")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants