File::...er::Raw(3pm)
π File::KDBX::Dumper::Raw β the perl man page, bestie edition π
okay so this is a User Contributed Perl Documentation page for File::KDBX::Dumper::Raw, and honestly? it's the chillest dumper in the whole squad. no cap.
β¨ NAME β¨
File::KDBX::Dumper::Raw β a no-op dumper that dumps content as-is π«Ά
like. it literally does nothing fancy. it takes what you give it and puts it in the file. and that's the whole point. iconic behavior fr fr.
πΈ VERSION πΈ
version 0.906
π¦ SYNOPSIS π¦
use File::KDBX::Dumper;
use File::KDBX;
my $kdbx = File::KDBX->new;
$kdbx->raw("Secret file contents\n");
$kdbx->dump_file('file.kdbx', $key, inner_format => 'Raw');
# OR
File::KDBX::Dumper->dump_file('file.kdbx', $key,
kdbx => $kdbx,
inner_format => 'Raw',
);
look at that. two whole ways to do the same slay thing. pick whichever one vibes with your codebase, bestie π
π DESCRIPTION π
so here's the tea β β a typical KDBX file is built like a lil sandwich:
- an outer section β that's the headers, the packaging, the outer vibe
- an inner section β that's the body, the actual content
normally that inner section gets dumped with File::KDBX::Dumper::XML. that's the standard route. the default. the normie path.
but π¨ you can swap in File::KDBX::Dumper::Raw instead, and it will just write some arbitrary data as the body content. whatever you want. no rules, just raw content.
β οΈ heads up though: the result won't necessarily be parseable by typical KeePass implementations. it's giving "not like other files" and honestly that's the assignment. but you can read it back using File::KDBX::Loader::Raw π«Ά
so what's the actual use case? it's a way to encrypt any file with the same high level of security as a KDBX database. literally any file. being wrapped in KDBX-grade encryption. main character energy honestly π
π BUGS π
found a bug? want a feature? please report any bugs or feature requests on the bugtracker website <https://github.com/chazmcgarvey/File-KDBX/issues> β they wanna hear from you, fr.
and when you submit a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. like, show them the receipts bestie, don't just say "it's broken" and dip π
π AUTHOR π
Charles McGarvey <ccm@cpan.org>
π 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.
and that's the whole page!! this one came out of perl v5.40.1, dated 2025-05-04, under the name File::...er::Raw(3pm) (the header was doing a little truncation moment, we love that for it π). mwah, stay encrypted, stay slay β¨ππ
π¦ 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