Perl code may be in "blocks" also.
Merge pull request #11 from calumhalcrow/haml-extraction-fix

Perl code may be in "blocks" also.