File::...er::Raw(3pm)
π File::KDBX::Loader::Raw π
okay bestie, so this is a page straight outta the User Contributed Perl Documentation collection, and it's about File::KDBX::Loader::Raw. yes that name is long. yes it's worth it. let's go β¨
πΈ VERSION πΈ
version 0.906 β that's the one we're vibing with here π«Ά
β¨ SYNOPSIS β¨
use File::KDBX::Loader;
my $kdbx = File::KDBX::Loader->load_file('file.kdbx', $key, inner_format => 'Raw');
print $kdbx->raw;
literally that's it. look at her. so clean π
π¦ DESCRIPTION π¦
okay so picture a typical KDBX file, right? it's got two whole sections living in it:
- an outer section β this is the one with the headers on it π
- an inner section β this is the one with the actual body π«Ά
now normally, the inner section gets loaded with File::KDBX::Loader::XML. that's the standard move. that's the usual main character.
BUT. and this is the fun part. you can use the File::KDBX::Loader::Raw loader instead, and it will not parse the body at all. zero parsing. none. it just hands you the raw body content, untouched, unbothered, moisturised β¨
it's a no-op loader fr fr β that's the whole bit.
so when is this giving? two moments, and they're both kinda iconic:
- for debugging π β sometimes you just wanna look at the raw stuff, y'know?
- for creating KDBX files with arbitrary content β and for that one, go peek at
File::KDBX::Dumper::Rawπ
not me being a loader that doesn't load anything. and yet. slay.
π BUGS π
found a bug? want a feature? please report it on the bugtracker website, bestie, don't just suffer in silence π:
<https://github.com/chazmcgarvey/File-KDBX/issues>
and listen, when you submit that bug or that request, please include a test-file or a patch to an existing test-file that illustrates the bug or the desired feature. that's the whole ask. a repro or it didn't happen, iykyk π
π AUTHOR π
Charles McGarvey <ccm@cpan.org> β the legend, the icon, the moment β
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2022 by Charles McGarvey.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. yes queen, that's the license, and it's a good one π
and that's the tea, bestie π this was File::...er::Raw(3pm) from perl v5.40.1, dated 2025-05-04 β go forth and not-parse some bodies π
β¨π
π¦ where this page comes from
- debian trixie: libfile-kdbx-perl 0.906-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libfile-kdbx-perl 0.906-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libfile-kdbx-perl 0.906-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms