String::Wildcard::SQL - SQL wildcard string routines
This document describes version 0.030 of String::Wildcard::SQL (from Perl distribution String-Wildcard-SQL), released on 2020-02-09.
use String::Wildcard::SQL qw(contains_wildcard); say 1 if contains_wildcard("")); # -> 0 say 1 if contains_wildcard("ab%")); # -> 1 say 1 if contains_wildcard("ab\\%")); # -> 0
Return true if $str contains wildcard pattern. Wildcard patterns include % (meaning zero or more characters) and _ (exactly one character).
$str
%
_
Please visit the project's homepage at https://metacpan.org/release/String-Wildcard-SQL.
Source repository is at https://github.com/perlancar/perl-String-Wildcard-SQL.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=String-Wildcard-SQL
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Regexp::Wildcards to convert a string with wildcard pattern to equivalent regexp pattern. Can handle Unix wildcards as well as SQL and DOS/Win32.
Other String::Wildcard::* modules.
String::Wildcard::*
perlancar <perlancar@cpan.org>
This software is copyright (c) 2020, 2015 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install String::Wildcard::SQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm String::Wildcard::SQL
CPAN shell
perl -MCPAN -e shell install String::Wildcard::SQL
For more information on module installation, please visit the detailed CPAN module installation guide.