You probably want to use the flip-flop operator:
while ( <file_handle> ) { if ( /^=begin/ .. /^=end/ ) { read each line between, and including, "-begin" and "=end" } }
In reply to Re: Regular expression...
by jwkrahn
in thread Regular expression...
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |