CGI::Application::Plugin::Authentication::Driver::Filter::strip - Filter that strips whitespace from the
Contents
Licence And Copyright
Copyright (c) 2005, SiteSuite. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl
itself.
perl v5.38.2 2024-06-29 CGI::Applicati...::Filter::strip(3pm)
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)
