$forged_from? ....
\015 and \012 are octal escape sequences with the equivalent decimal being 13 and 10. They represent \r and \n, respectively, on most systems. That's why \015 and \012 are used; they're the characters you want whereas \r and \n aren't always depending upon OS. More info in perldoc perlop
\r is return or carriage return (CR). \n is newline (NL). There are a few places on the internet describing the difference and why it's important to know which or what combination to use.
In reply to Re: Escape characters question
by !1
in thread Escape characters question
by hweefarn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |