SQL::Tr...ildArgs(3)
π SQL::Tr...ildArgs(3) β like, the whole vibe
Okay so bestie, welcome to SQL::Tr...ildArgs(3), straight out of the User Contributed Perl Documentation. Yes the title is literally abbreviated with dots, no I don't know why, yes we're moving on π«Ά
β¨ NAME β¨
SQL::Translator::Role::BuildArgs β its whole entire job is removing undefined constructor arguments. That's it. That's the gig. Iconic honestly π
πΈ SYNOPSIS πΈ
Here's the little ritual you do, copy it exactly fr fr:
package Foo;
use Moo;
with qw(SQL::Translator::Role::BuildArgs);
That's the whole thing. package Foo;, then use Moo;, then with qw(SQL::Translator::Role::BuildArgs); and you're in. Slay.
π¦ DESCRIPTION π¦
So this lil Moo::Role wraps BUILDARGS β like it puts a little coat on it β and what it does while it's in there is remove "undef" constructor arguments. Poof. Gone. Not invited to the function. π¨
And why, you ask? Backwards compatibility, babe. Specifically with the old Class::Base-based SQL::Translator::Schema::Object. So if you're out here throwing undef at your constructors and expecting the ancient behaviour to still hit, this role is the fairy godmother making that happen π§β¨
No cap, that's the whole description. Short king.
π sign-off π
This page was brought to you by perl v5.42.0, dated 2024-12-12, and living at SQL::Tr...ildArgs(3) in the User Contributed Perl Documentation. Go forth and build your args, bestie ππ¦πΈ
π¦ where this page comes from
- opensuse-leap 16.0: perl-SQL-Translator 1.660.0-bp160.1.11 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms