in reply to return value of chomp is false?
You're trying to be too clever (edit: in that you likely don't need the return value of chomp):
my $names = join '|', map { chomp; $_ } <STDIN>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: return value of chomp is false?
by babel17 (Acolyte) on Sep 29, 2009 at 16:50 UTC | |
by ikegami (Patriarch) on Sep 29, 2009 at 17:57 UTC |