script/01.request.read.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/local/bin/perl
2  
3 BEGIN{push @INC, "./../blib/lib/"}
4  
5 use Biblio::ILL::ISO::Request;
6  
7 my $debug = 1;
8  
9 my $msg = new Biblio::ILL::ISO::Request;
10  
11 my $href = $msg->read("msg_01.request.ber", $debug);
12 #my $href = $msg->read("sfu.ber", $debug);
13  
14 print "\n===[ From the read ]=================================\n\n";
15 print $msg->debug($href);
16  
17 print "\n===[ From the 'from_asn processing ]=================\n\n";
18 $msg = $msg->from_asn($href);
19  
20 print "\n===[ As pretty string ]==============================\n\n";
21 print $msg->as_pretty_string();
22