my $resource = Resource::Pack::jQuery->new( install_to => '/var/www/js', version => '1.4.2', ); $resource->install;
This provides the jQuery library as a Resource::Pack resource.
The desired jQuery version. Required, if
use_bundled is false.
If true, uses the bundled copy of jquery-1.4.2.min.js that is shipped with this dist (and ignores the other attributes). Otherwise, uses the values of
minified to download a copy of the library from http://code.jquery.com/.
No known bugs.
Please report any bugs through RT: email
bug-resource-pack-jquery at rt.cpan.org, or browse to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Resource-Pack-jQuery.
You can find this documentation for this module with the perldoc command.
You can also look for information at:
Jesse Luehrs <doy at tozt dot net> John Resig is the author of jQuery
This software is copyright (c) 2010 by Jesse Luehrs.
This is free software; you can redistribute it and/or modify it under the same terms as perl itself.
The bundled copy of jQuery is copyright (c) 2010 The jQuery Project. It is licensed under either the MIT license or the GPLv2.