Haml parser in Perl