Or you could use this far from elegant solution:
(note no colon on the RHS)while (<DATA>) { print if /^QueueManager:$/ .. /^QueueManager$/; }
d
In reply to Re: parsing a config file
by Not_a_Number
in thread parsing a config file
by Gorio3721
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |