Changeset 186 for veekun/trunk/lib/Vee/Form.pm
- Timestamp:
- 05/29/07 20:48:48 (3 years ago)
- Files:
-
- 1 modified
-
veekun/trunk/lib/Vee/Form.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
veekun/trunk/lib/Vee/Form.pm
r109 r186 146 146 147 147 if (!ref $attr->{options}[0]) { 148 $_ = [ $_ => $_ ] for @{ $attr->{options} }; 148 $attr->{options} = [ 149 map {[ $_ => $_ ]} @{ $attr->{options} } 150 ]; 149 151 } 150 152 }
