Thursday, February 28th, 2008p>We have talked about a pQuery before, which was a PHP port of jQuery. Now we have a new pQuery for the Perl community:
pQuery exports a single function called pQuery. This function acts a constructor and does different things depending on the arguments you give it.
A pQuery object acts like an array reference (because, in fact, it is). Typically it is an array of HTML::DOM elements, but it can be an array of anything.
Like jQuery, pQuery methods return a pQuery object; either the original object or a new derived object. All pQuery METHODS are described below.