use strict;
use Test::More tests => 7;
use ok 'XML::Literal' => sub {"!$_[0]!"};
my $var = 'submit';
my $xml1 =
; # simple element
my $xml2 = ; # interpolation
my $xml3 = < Some Text >;
my $xml4 = Some Text \;
my $xml5 = glob'
Some Text
';
my $files = <*.moose.*>; # this is still shell glob
is $xml1, "!!";
is $xml2, "!!";
is $xml3, "! Some Text !";
is $xml4, "! Some Text !";
is $xml5, "!