print Dumper $parse->section (' bind-server 127.0.0.1 tsig-key "/etc/bind/rndc.key" ');
You're asking it to parse a section. You probably want to parse a config.
print Dumper $parse->config (' bind-server 127.0.0.1 tsig-key "/etc/bind/rndc.key" ');
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Parse::RecDescent trouble
by davorg
in thread Parse::RecDescent trouble
by ribasushi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |