Scroll to navigation

Devel::Cover::DB::IO(3) User Contributed Perl Documentation Devel::Cover::DB::IO(3)

NAME

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

VERSION

version 1.03

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

 Devel::Cover

METHODS

new

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

Contructs the IO object.

read

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

Returns a perl data structure representingthe data read from $file.

write

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

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

BUGS

Huh?

LICENCE

Copyright 2011-2013, 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

2013-05-20 perl v5.16.3