- or download this
use strict;
...
}
print parse('start: /foo/ | <error>', 'fo'), "\n";
- or download this
$ perl rectest.pl
ERROR (line 1): Invalid start: Was expecting /foo/
- or download this
$ perl rectest2.pl
ERROR (line 1): Invalid start: Was expecting /foo/
Died at recdescent.pl line 34.
- or download this
use strict;
...
}
print parse('start: /foo/ | <error>', 'fo'), "\n";
- or download this
$ perl recdescent3.pl
Undefined format "Parse::RecDescent::ERROR" called at /usr/share/perl5
+/Parse/RecDescent.pm line 2910.