chomp isn't needed if you use "$" in your regexp.
Conversely, "\z" is sufficient if chomp is used.
In reply to Re^2: Subroutines within if statements
by ikegami
in thread Subroutines within if statements
by muizelaar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |