Perl-Sensitive Sunglasses | |
PerlMonks |
Re: newlines in regular expressionsby tachyon (Chancellor) |
on Dec 07, 2004 at 06:29 UTC ( [id://412841]=note: print w/replies, xml ) | Need Help?? |
The keys as it were are to note that \n\n is a blank line or if you read a file line by line then a blank line will match m/^\s*$/
UpdateUpdated as per sgifford's comments. cheers tachyon
In Section
Seekers of Perl Wisdom
|
|