while(<FILE>){ if ( /^-- start foo/ .. /^-- end foo/ ){ # do what you like to do here } }
In reply to Re: Parsing Files for the Interesting Bit
by borisz
in thread Parsing Files for the Interesting Bit
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |