Open
Description
Migrated from rt.cpan.org#47016 (status was 'open')
Requestors:
Attachments:
From ykar@cpan.org on 2009-06-16 18:05:00:
I ask you to add interface for accessing input labels. It is currently
possible to get input's label through the $input->{value_name} in some
cases, but it not always corresponds to label. If label for input does
not exist, parser do some heuristic to guess "value_name" and swallow
all plain text following input through $p->get_phrase.
Furthermore current value_name parsing has a flaw: if label defined
after the input, the label is ignored (because at the time of parsing
of the input element there is no corresponding entry in %labels).
I'm proposing a patch which implements the interface for accessing
labels and label assignment is free from mentioned flaw (labels
assigned to inputs when form completely parsed).
Attached:
- patch
- test script
From ether@cpan.org on 2017-01-25 21:37:33:
migrated queue: libwww-perl -> WWW-Mechanize