[Html-widget] find_elements documentation wrong in HTML::Widget?

Carl Franks fireartist at gmail.com
Thu Nov 30 10:42:46 GMT 2006


On 27/11/06, Guillermo Sansovic <gmane at sansovic.com.ar> wrote:
> According to the docs:
>
> find_elements
>
> Arguments: %options
>
> Return Value: @elements
>
> Similar to get_elements(), and has the same alternate forms, but
> performs a recursive search through block-level elements.
>
>
> I assume from that that there should be a find_elements_ref and possibly
> a find_element. Neither seems to exits. Additionally, any %options sent
> as argument to find_elements seem to be ignored.

Guillermo,

I think the documentation should have read "supports the same
arguments", rather than "has the same alternate forms".
I've changed find_elements() so that it supports the 'name' and 'type'
arguments.

If you need find_elements_ref() and find_element() - a patch would be welcome!

Cheers,
Carl



More information about the Html-widget mailing list