in reply to using map with compound code blocks to alter strings: a strange result
Update:As kyle points out, this solution is both wrong and inefficient.$ perl -l use strict; use warnings; my @strings = qw(boy bird FALSE); @strings = map { qq{"$_"} } grep( !/FALSE/, @strings); print join (q{,}, @strings); __END__ "boy","bird" $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using map with compound code blocks to alter strings: a strange result
by kyle (Abbot) on Jun 15, 2007 at 18:07 UTC |