On Wed, 15 Oct 2003 02:24:25 -0500, Jerry Preston wrote: > I know this is a no brainer, but this line of code does not always work: > last if( /^\n/ or /^\s+\n/ );
Can't you check the length of the line? last unless ( length ); This will work if the line really _is_ blank. However, humans tend to look upon lines filled with spaces as blank lines, too. :-) -- Tore Aursand <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]