1 use strict; use warnings FATAL => 'all';
2 use Test::More qw(no_plan);
9 use XML::Tags qw(one two three);
10 <one>, <two>, <three>;
14 no warnings 'once'; # this is supposed to warn, it's broken
19 use XML::Tags qw(bar);
25 <html>, <body id="spoon">, "YAY", </body>, </html>;
29 use XML::Tags qw(woo);
40 join(', ', XML::Tags::to_xml_string Foo::foo()),
41 '<one>, <two>, <three>',
45 ok(!eval { Foo::bar(); 1 }, 'Death on use of unimported tag');
48 join(', ', XML::Tags::to_xml_string Foo::baz()),
54 join('', HTML::Tags::to_html_string Foo::quux),
55 '<html><body id="spoon">YAY</body></html>',
60 join('', XML::Tags::to_xml_string Foo::fleem),
61 '<woo ent="one&two">',
66 join(', ', Foo::globbery),
67 't/globbery/one, t/globbery/two',
68 'real glob re-installed ok'