CGI::A...::strip(3pm)
πΈ NAME πΈ
okay so bestie, this page is straight out of the User Contributed Perl Documentation, and the main character is CGI::Application::Plugin::Authentication::Driver::Filter::strip β a filter that strips whitespace from the beginning and end of the string. It's giving tiny but essential, and honestly? obsessed. π
β¨
β¨ METHODS β¨
π filter ( undef, $string ) π
This strips whitespace from the beginning and end of the string and returns the result. That's the whole assignment, and it ate. π«Ά
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. Literally a vibe check, but for strings. π
if ($class->check(undef, " foobar\t\n", 'foobar')) {
# they match
}
π SEE ALSO π
CGI::Application::Plugin::Authentication::Driverperl(1)
π AUTHOR π
Cees Hek <ceeshek@gmail.com> β iconic author behavior, no notes. π
π 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.
okay bestie, that's the whole page. Source/version/date check: perl v5.38.2, 2024-06-29, manual name CGI::A...::strip(3pm). Stay filtered and stay fabulous. πβ¨
π¦ where this page comes from
- debian trixie: libcgi-application-plugin-authentication-perl 0.25+~cs0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcgi-application-plugin-authentication-perl 0.25+~cs0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcgi-application-plugin-authentication-perl 0.25+~cs0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms