Devel::...torable(3)

πŸ’… Devel::Cover::DB::IO::Storable

okay so bestie, welcome to the manual page for Devel::Cover::DB::IO::Storable β€” yes the header got cutely mangled into Devel::...torable(3) up top, that's just the page name being extra, don't worry about it πŸŽ€. This is a User Contributed Perl Documentation page and it's genuinely so useful if you're messing with Devel::Cover::DB. Let's get into it ✨


🌸 NAME 🌸

Devel::Cover::DB::IO::Storable β€” Storable based IO routines for Devel::Cover::DB. it's giving "plumbing but make it iconic" πŸ’…


πŸ¦‹ VERSION πŸ¦‹

literally version 1.50 ✨


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the whole vibe in code form, copy it exactly bestie:

use Devel::Cover::DB::IO::Storable;

my $io = Devel::Cover::DB::IO::Storable->new;
my $data = $io->read($file);
$io->write($data, $file);

like, you make the object, you read stuff, you write stuff. slay. 🫢


🌈 DESCRIPTION 🌈

so what does this actually do? it provides Storable based IO routines for Devel::Cover::DB. that's the whole personality. it's the module that handles the reading and writing so you don't have to. no cap, that's it πŸ’–


πŸ’œ SEE ALSO πŸ’œ

go look at Devel::Cover β€” that's the main character, this module is the supporting bestie 🌟


πŸ‘‘ METHODS πŸ‘‘

⭐ new

my $io = Devel::Cover::DB::IO::Storable->new;

Constructs the IO object. that's it. it makes the object. iconic behaviour honestly πŸŽ€

⭐ read

my $data = $io->read($file);

returns a perl data structure representing the data read from $file. so you hand it a file, it hands you back your data, all structured and pretty πŸ’…

⭐ write

$io->write($data, $file);

writes $data to $file in the format specified when creating $io β€” so like, the format you picked when you made the object, that's the one it uses. consistency queen πŸ‘‘


πŸ’€ BUGS πŸ’€

Huh?

no literally, that's the whole bugs section. that's what it says. i'm not making that up 😭 the author said "Huh?" and honestly? mood. πŸ™ˆ


πŸ“ LICENCE πŸ“

Copyright 2011-2025, Paul Johnson (paul@pjcj.net) 🌸

This software is free. It is licensed under the same terms as Perl itself.

The latest version of this software should be available from my homepage: https://pjcj.net


and that's the page bestie!! πŸ§šβ€β™€οΈ it came from perl v5.42.0, dated 2025-06-11, and the footer said Devel::...torable(3) again because it's committed to the bit. periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from