open( IN, $file ); { local $/ = ""; while (<IN>) { # $_ contains a paragraph of one or more lines if ( /\"/ ) { # this paragraph contains at least one double-quote ... } } }
In reply to Re: Extract a paragraph with double quoted text
by graff
in thread Extract a paragraph with double quoted text
by Coppiete
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |