DBIx::C...:NotLike(3)
β¨ NAME β¨
DBIx::Class::Helper::ResultSet::Shortcut::Search::NotLike β bestie, it's the little shortcut that slides a NOT LIKE into your ResultSet without you having to hand-write a -not_like search yourself π
This page lives in the User Contributed Perl Documentation manual, and it is so short and so sweet, like a lil snack π
π¦ not_like($column || \@columns, $cond)
Okay so here's the whole entire vibe: you hand it a column name, or an arrayref of column names if you're feeling extra, plus the condition you wanna match against. That's it. That's the function. Iconic.
Give it one column:
$rs->not_like('lyrics', '%zebra%');
Or give it a whole list of columns in an arrayref, because why limit yourself:
$rs->not_like(['lyrics', 'title'], '%zebra%');
Look at her go. No cap, that's the entire method. π
π AUTHOR π
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com> β the legend himself, fr fr π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2024 by Arthur Axel "fREW" Schmidt.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
So yes bestie, it's free, it's open, go wild β just keep those same Perl 5 terms, periodt π
That's the whole page, and honestly? It ate. Short, useful, no notes. π
Signing off from perl v5.42.0, dated 2025-07-25 β mwah, go forth and not_like responsibly β¨π¦πΈ
π¦ where this page comes from
- fedora 43: perl-DBIx-Class-Helpers 2.037000-3.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms