File::...er::Raw(3pm)

πŸ“¦
version 0.906 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 ⭐


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