HTML::Widgetの中身を覗こうと思ったら overload の壁にさまたげられたので、overload(のstringify)を無視して無理矢理中身を覗くコードを追加。そのうちCPANにも載るはずですが、とりあえずHTML::Widgetの中身はこんな感じだそうです。
HTML::Widget::Result (blessed) |
_constraints |
HTML::Widget::Constraint::ASCII (blessed) |
_initialized | 1 |
message | (Not Ascii) |
names | name |
not | 0 |
|
,
HTML::Widget::Constraint::All (blessed) |
_initialized | 1 |
message | (Missing Value) |
names | email |
not | 0 |
|
,
HTML::Widget::Constraint::All (blessed) |
_initialized | 1 |
message | (Missing Value) |
names | pass |
not | 0 |
|
|
_elements |
HTML::Widget::Element::Textfield (blessed) |
_initialized | 1 |
attributes |
|
label | Name |
name | name |
|
,
HTML::Widget::Element::Textfield (blessed) |
_initialized | 1 |
attributes |
|
label | E-Mail |
name | email |
|
,
HTML::Widget::Element::Password (blessed) |
_initialized | 1 |
attributes |
|
label | Pass |
name | pass |
|
,
HTML::Widget::Element::Submit (blessed) |
_initialized | 1 |
attributes |
|
name | login |
value | OK: |
|
|
_embedded | *EMPTY_ARRAY* |
_errors |
email |
HTML::Widget::Error (blessed) |
message | (Missing Value) |
name | email |
type | All |
|
|
pass |
HTML::Widget::Error (blessed) |
message | (Missing Value) |
name | pass |
type | All |
|
|
|
_js_callbacks | *CODE*, *CODE*, *CODE* |
_params |
email | *BLANK* |
login | OK: |
name | test |
pass | *BLANK* |
|
attributes |
|
container | form |
empty_errors | undef |
legend | undef |
strict | undef |
subcontainer | div |
|