Last change
on this file since 96 was
91,
checked in by peter, 13 years ago
|
- switched from EU::MakeMaker to Module::Build
- pre-compile the Text::FormBuilder::Parser as part of the build process, using a .PL file
- updated the module version to 0.14
|
File size:
266 bytes
|
Line | |
---|
1 | #!/usr/bin/perl -w |
---|
2 | use strict; |
---|
3 | |
---|
4 | # pre-compile the parser from the grammar |
---|
5 | use Parse::RecDescent; |
---|
6 | |
---|
7 | (my $directory = shift) =~ s/Parser\.pm//; |
---|
8 | |
---|
9 | chdir $directory; |
---|
10 | open my $fh, '<', 'grammar'; |
---|
11 | Parse::RecDescent->Precompile(join('', <$fh>), 'Text::FormBuilder::Parser'); |
---|
Note: See
TracBrowser
for help on using the repository browser.