Locale...t::DBI(3pm)

πŸ’– NAME πŸ’–

Locale::Maketext::Extract::DBI β€” it's a Perl module (perl, v5.36.0, user contributed docs, we love that for us) and it does exactly one iconic thing: it yanks translation keys out of a database. πŸ—„οΈβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

okay bestie, here's the vibe:

my $extractor = Locale::Maketext::Extract::DBI->new;
$extract->extract( %options );

(yes, the variable changes name halfway through, and yes, that's literally how it's written. we don't edit the queen's handwriting. πŸ’…)


🌸 DESCRIPTION 🌸

So like. This module extracts translation keys from a database table. That's it, that's the whole job, and it does it flawlessly. no cap. πŸ’–


πŸŽ€ METHODS πŸŽ€

new( )

Creates a new Locale::Maketext::Extract::DBI instance. fresh out the box, brand new, main character energy. πŸ‘‘

extract( %options )

The main method for extraction, the moment we've all been waiting for. 🫢

Take a list of options to pass to Locale::Maketext::Extract and extract_dbi. Like, both of them. Same options, going two places. iykyk.

extract_dbi( $extractor, %options )

Connects to the database, runs the query, and stuffs the results in to the $extractor. literally stuffing. like it's making a little database pillow for the extractor. 😭πŸ”₯


πŸ’œ AUTHOR πŸ’œ

  • Brian Cassidy <bricas@cpan.org> β€” icon, legend, the moment. πŸ†

Copyright 2006 by Brian Cassidy.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

so like, go forth and remix, just keep it Perl-flavored. πŸ“

⭐ SEE ALSO ⭐

  • Locale::Maketext::Extract β€” the whole reason this module even exists, go read it next bestie 🧚

and that's the tea, bestie πŸŽ€ β€” this page came to you from perl v5.36.0, dated 2023-02-09, and honestly? she ate. go extract some keys. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from