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")In reply to (tye)Re: When is an ^$ not a ^$ ?
by tye
in thread When is an ^$ not a ^$ ?
by Clownburner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |