The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/env perl

use strict;
use warnings;

use Test::More tests => 1;

use Text::Haml;

my $haml = Text::Haml->new;

my $output = $haml->render(<<'EOF');
%title
  = "MyPage"
  \= $title
EOF
is($output, <<'EOF');
<title>
  MyPage
  = $title
</title>
EOF