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.03
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 Contructs the IO object.
29
30 read
31 my $data = $io->read($file);
32
33 Returns a perl data structure representingthe 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-2013, 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.16.3 2013-05-20 Devel::Cover::DB::IO(3)