I guess I'd probably also chomp $bob, which should get rid of the line terminator too. I believe chomp only removes the character defined by $/, so the tr/\s// is still needed too.
In reply to Re: String handling frustrations
by ginseng
in thread String handling frustrations
by troll314
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |