You could show us what you tried, and tell us how it failed. Consider if you could adapt the existing code you've been given to achieve this. Tutorials->Getting Started with Perl, https://learn.perl.org.
In reply to Re^2: how to read input from a file, one section at a time?
by marto
in thread how to read input from a file, one section at a time?
by davi54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |