File Coverage

blib/lib/Crypt/Random/Provider/devrandom.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 18 18 100.0


line stmt bran cond sub pod time code
1             #!/usr/bin/perl -sw
2             ##
3             ##
4             ##
5             ## Copyright (c) 2001, Vipul Ved Prakash. All rights reserved.
6             ## This code is free software; you can redistribute it and/or modify
7             ## it under the same terms as Perl itself.
8             ##
9             ## $Id: devrandom.pm,v 1.2 2001/06/22 18:16:29 vipul Exp $
10              
11             package Crypt::Random::Provider::devrandom;
12 1     1   17 use strict;
  1         21  
  1         21  
13 1     1   44 use lib qw(lib);
  1         10  
  1         36  
14 1     1   37 use Crypt::Random::Provider::File;
  1         12  
  1         26  
15 1     1   20 use vars qw(@ISA);
  1         10  
  1         18  
16             @ISA = qw(Crypt::Random::Provider::File);
17              
18 7     7   216 sub _defaultsource { return "/dev/random" }
19              
20             1;
21              
22