WebService-Google-Closure
WebService::Google::Closure is an object-oriented interface to the
Google Closure Javascript compiler API (http://code.google.com/closure/).
The Google Closure Compiler compiles JavaScript into compact,
high-performance code. The compiler removes dead code and rewrites and
minimizes what's left so that it downloads and runs quickly. It also also
checks syntax, variable references, and types, and warns about common
JavaScript pitfalls. These checks and optimizations help you write apps
that are less buggy and easier to maintain
This module provides a Moose-powered Perl interface to the Google
Javascript compiler service.
It also provides a command line tool to easily compile your javascript
files;
# Compiles file1.js and file2.js into comlied.js using advanced optimizations
cat js/file1.js js/file2.js | closure-compile -l 3 > compiled.js
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc WebService::Google::Closure
You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WebService-Google-Closure
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/WebService-Google-Closure
CPAN Ratings
http://cpanratings.perl.org/d/WebService-Google-Closure
Search CPAN
http://search.cpan.org/dist/WebService-Google-Closure/
LICENSE AND COPYRIGHT
Copyright (C) 2010 Magnus Erixzon
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.