The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
#!/usr/bin/perl 

use strict;
use warnings;

use Test::More tests => 3;
use XML::Writer::Simple partial => 1, tags => [qw/a b c d e/];


is(start_a(),"<a>\n");
is(start_a({foo=>'bar'}),"<a foo=\"bar\">\n");
is(end_e(),"</e>\n");