It seems like Text::Sass->sass2css has some problems with several selectors in the sass.
I get the error:
Can't use string ("#333") as a HASH ref while "strict refs" in use at
/Library/Perl/5.8.8/Text/Sass.pm line 236.
I attached a test-file to illustrate my problem.
Subject: | sass.t |
#!/usr/bin/perl
use Text::Sass '0.5';
use Test::More tests => 2;
my $css = "h1, h2 {\n color:#333; }";
my $sass = "h1, h2\n color: #333\n";
my $ts = Text::Sass->new();
is($ts->css2sass($css), $sass, "css to sass conversion ok");
is($ts->sass2css($sass), $css, "sass to css conversion ok");