DBIx::C...:NotLike(3)

πŸ“¦
version 2.037000 Β· 2 versions
, in fedora 43

✨ 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 🫢


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