Name : perl-pQuery
| |
Version : 0.24
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.67
| Date : 2024-08-05 20:21:22
|
Group : Development/Libraries/Perl
| Source RPM : perl-pQuery-0.24-1.67.src.rpm
|
Size : 0.08 MB
| |
Packager : (none)
| |
Summary : Port of Jquery.Js to Perl
|
Description :
pQuery is a pragmatic attempt to port the jQuery JavaScript framework to Perl. It is pragmatic in the sense that it switches certain JavaScript idioms for Perl ones, in order to make the use of it concise. A primary goal of jQuery is to \"Find things and do things, concisely\". pQuery has the same goal.
pQuery exports a single function called \'pQuery\'. (Actually, it also exports the special \'PQUERY\' function. Read below.) This function acts a constructor and does different things depending on the arguments you give it. This is discussed in the \'CONSTRUCTORS\' section below.
A pQuery object acts like an array reference (because, in fact, it is). Typically it is an array of pQuery::DOM elements, but it can be an array of anything.
pQuery::DOM is roughly an attempt to duplicate JavaScript\'s DOM in Perl. It subclasses HTML::TreeBuilder/HTML::Element so there are a few differences to be aware of. See the \'pQuery::DOM\' documentation for details.
Like jQuery, pQuery methods return a pQuery object; either the original object or a new derived object. All pQuery \'METHODS\' are described below.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-P/openSUSE_Tumbleweed/noarch |