DOKK / manpages / debian 11 / libdevel-cover-perl / Devel::Cover::DB::IO.3pm.en
Devel::Cover::DB::IO(3pm) User Contributed Perl Documentation Devel::Cover::DB::IO(3pm)

Devel::Cover::DB::IO - IO routines for Devel::Cover::DB

version 1.36

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

This module provides IO routines for Devel::Cover::DB.

 Devel::Cover

 my $io = Devel::Cover::DB::IO->new(format => "JSON");

Constructs the IO object.

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

Returns a perl data structure representing the data read from $file.

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

Writes $data to $file in the format specified when creating $io.

Huh?

Copyright 2011-2019, 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: http://www.pjcj.net

2021-02-02 perl v5.32.1