logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CGI::Application::Plugin::Authentication::Driver::Filter::strip - Filter that strips whitespace from the

Author

       Cees Hek <ceeshek@gmail.com>

Methods

filter(undef,$string)
       This strips whitespace from the beginning and end of the string and returns the result

        my $filtered = $class->filter(undef, "  foobar\t\n"); # 'foobar'

   check(undef,$string,$compare)
       This will lowercase the string and compare it against the comparison string and return true or false.

        if ($class->check(undef, "  foobar\t\n", 'foobar')) {
            # they match
        }

Name

       CGI::Application::Plugin::Authentication::Driver::Filter::strip - Filter that strips whitespace from the
       beginning and end of the string

See Also

       CGI::Application::Plugin::Authentication::Driver, perl(1)

See Also