1Devel::Cover::DB::IO(3)User Contributed Perl DocumentatioDnevel::Cover::DB::IO(3)
2
3
4
6 Devel::Cover::DB::IO - IO routines for Devel::Cover::DB
7
9 version 1.40
10
12 use Devel::Cover::DB::IO;
13
14 my $io = Devel::Cover::DB::IO->new(format => "JSON");
15 my $data = $io->read($file);
16 $io->write($data, $file);
17
19 This module provides IO routines for Devel::Cover::DB.
20
22 Devel::Cover
23
25 new
26 my $io = Devel::Cover::DB::IO->new(format => "JSON");
27
28 Constructs the IO object.
29
30 read
31 my $data = $io->read($file);
32
33 Returns a perl data structure representing the data read from $file.
34
35 write
36 $io->write($data, $file);
37
38 Writes $data to $file in the format specified when creating $io.
39
41 Huh?
42
44 Copyright 2011-2023, Paul Johnson (paul@pjcj.net)
45
46 This software is free. It is licensed under the same terms as Perl
47 itself.
48
49 The latest version of this software should be available from my
50 homepage: http://www.pjcj.net
51
52
53
54perl v5.38.2 2023-11-30 Devel::Cover::DB::IO(3)