Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

What is the best module to use to write a source filter? Is there any reason why I shouldn't use the Filter::Simple module over the Filter::Util::Call ?

I'm trying to make a builtin filter of Crypt::PasswdMD5 for CGI::Application::Plugin::Authentication::Driver::Filter.  I tried importing it into a subroutine it worked in the test but not in the Credential line.

Replies are listed 'Best First'.
Re: Modules for a source filter
by Anonymous Monk on Jun 14, 2011 at 03:19 UTC
    CGI::Application::Plugin::Authentication::Driver filters are not source filters, so you would not use Filter::Simple or Filter::Util::Call
      Thank you, you saved me at least a week of beating my head trying to get a source filter to work as a CGI::Application::Plugin::Authentication::Driver filter. The author wrote in a post that it is easy to add builtin filters. When I Googled 'perl filter tutorials' I got the info on the source filters and modules.