| 1 | #!/usr/local/bin/perl | ||
| 2 | |||
| 3 | BEGIN{push @INC, "./../blib/lib/"} | ||
| 4 | |||
| 5 | use Biblio::ILL::ISO::Shipped; | ||
| 6 | |||
| 7 | my $msg = new Biblio::ILL::ISO::Shipped; | ||
| 8 | |||
| 9 | my $href = $msg->read("msg_03.shipped.ber",1); | ||
| 10 | |||
| 11 | #print "\n===[ From the read ]=================================\n\n"; | ||
| 12 | #print $msg->debug($href); | ||
| 13 | |||
| 14 | print "\n===[ From the 'from_asn processing ]=================\n\n"; | ||
| 15 | $msg = $msg->from_asn($href); | ||
| 16 | |||
| 17 | print "\n===[ As pretty string ]==============================\n\n"; | ||
| 18 | print $msg->as_pretty_string(); | ||
| 19 |