in reply to When is an ^$ not a ^$ ?

One thing I didn't see anyone else cover was that: split (/^\s+$/,$slurp); should instead be split (/^\s+$/m,$slurp); so that ^ and $ can match at line endings in the middle of the string.

        - tye (but my friends call me "Tye")