- Timestamp:
- 01/13/05 14:32:57 (20 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.PL
r23 r55 10 10 Parse::RecDescent => 1.94, 11 11 Text::Template => 1.44, 12 # requirement for Class::ParseText::Base 13 Class::Base => 0.03, 12 14 }, # e.g., Module::Name => 1.1 13 15 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 -
trunk/lib/Class/ParseText/Base.pm
r53 r55 77 77 my $start_rule = $self->{start_rule}; 78 78 croak '[' . (caller(0))[3] . '] No start rule given for the parser' unless defined $start_rule; 79 79 80 $self->{$start_rule} = $self->{parser}->$start_rule($src); 80 81 … … 204 205 =back 205 206 207 I<Be sure that you explicitly return the object!> This is a bug that 208 has bitten me a number of times. 209 206 210 =head1 TODO 207 211 -
trunk/lib/Text/FormBuilder.pm
r53 r55 7 7 use vars qw($VERSION @EXPORT); 8 8 9 $VERSION = '0.0 8';9 $VERSION = '0.09_01'; 10 10 @EXPORT = qw(create_form); 11 11 -
trunk/lib/Text/FormBuilder/grammar
r50 r55 191 191 hint: '[' /[^\]]+/ ']' { $item[2] } 192 192 193 type: ':' /textarea|text|password|file|checkbox|radio|select|hidden|static/ 193 # TODO: differentiate between builtins and custom field groups 194 type: ':' ( builtin_field | var_name { warn "[Text::FormBuilder] Using field group names directly is not (yet) supported (input line $thisline)\n"; 'text' } ) 195 196 builtin_field: /textarea|text|password|file|checkbox|radio|select|hidden|static/ 197 194 198 195 199 default: '=' (simple_multiword | quoted_string) { $item[2] }
Note: See TracChangeset
for help on using the changeset viewer.