example.pl untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/perl -w
2  
3 use lib "blib/lib";
4 use strict;
5  
6 use Data::Encrypted;
7  
8 my $enc = new Data::Encrypted file => "./.secret";
9 my $password = $enc->encrypted("password");
10  
11 print "Password entered: $password\n";