The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojolicious::Plugin::AssetPack::Preprocessor::Less - Preprocessor for LESS

DESCRIPTION

Mojolicious::Plugin::AssetPack::Preprocessor::Less is a preprocessor for .less files.

LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. See http://lesscss.org for more details.

Installation on Ubuntu and Debian:

  $ sudo apt-get install npm
  $ sudo npm install -g less

ATTRIBUTES

executable

  $path = $self->executable;

Holds the path to the "lessc" executable. Default to just "lessc".

METHODS

can_process

Returns true if "executable" points to an actual file.

process

This method use "lessc" to process $text.

See "process" in Mojolicious::Plugin::AssetPack::Preprocessor.

COPYRIGHT AND LICENSE

Copyright (C) 2014, Jan Henning Thorsen

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org