CSS::Sass

Compile .scss and .sass files using libsass

CSS::Sass provides a perl interface to libsass, a fairly complete Sass compiler written in C++. It is currently somewhere around ruby sass 3.2/3.3 feature parity and heading towards 3.4. It can compile .scss and .sass files.

Installation

Build Status Coverage Status CPAN version

To install this module type the following:

perl Build.PL
./Build verbose=1
./Build test verbose=1
./Build install verbose=1

On windows you may need to install Strawberry Perl.

Documentation

Before installing:

perldoc lib/CSS/Sass.pm

After installing:

man CSS::Sass

Or view converted markdown version

Dependencies

This module requires these other modules and libraries:

Command line utility

psass [options] [ source | - ]
-v, --version                 print version
-h, --help                    print this help
-p, --precision               precision for float output
-t, --output-style=style      output style [nested|compressed]
-I, --include-path=path       sass include path (repeatable)
-c, --source-comments         enable source debug comments
-m, --source-map-file=file    create and write source map to file
    --omit-source-map-url     omit sourceMappingUrl from output

Copyright © 2013 by David Caldwell
Copyright © 2014 by Marcel Greter

This library is released under the MIT license.