File: 604_MKDoc_XML_Dumper_Entities.t

package info (click to toggle)
libmkdoc-xml-perl 0.75-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 404 kB
  • sloc: perl: 2,629; xml: 17; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/perl
use lib qw (../lib lib);
use Test::More 'no_plan';
use strict;
use warnings;
use MKDoc::XML::Dumper;

my $xml = <<EOF;
<perl>
  <hash id="id_153607344" bless="flo::editor::Text">
    <item key="data">First Impressions
=================
 
Okay, I am not allowed to disclosed information about &quot;all Google software,
    </item>
  </hash>
</perl>
EOF
 
my $pl  = MKDoc::XML::Dumper->xml2perl ($xml);

ok (ref $pl);
like ($pl->{data}, qr/\"/);

1;


__END__