Permalink
Browse files

Added option so Perl variables are exported as lvalue subroutines

  • Loading branch information...
1 parent f440039 commit 4dcf9911bf8d4d4468e62249b9c653a35a5f604c @vti vti committed Jan 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 perl_haml_test.pl
View
@@ -20,7 +20,7 @@
diag $section_name;
while (my ($test_name, $test) = each %$section) {
- is( Text::Haml->new(%{$test->{config}})
+ is( Text::Haml->new(%{$test->{config}}, vars_as_subs => 1)
->render($test->{haml}, %{$test->{locals}}),
$test->{html}, $test_name
);

0 comments on commit 4dcf991

Please sign in to comment.