in reply to Re: Reading in Block
in thread Reading in Block

if ( /\-\-\-/ ) {
can be coded as (to reduce back-whackin')...
if ( /\Q---/ ) {
or even as ...
if ( /---/ ) {
since dash is not a special character in this regex context.