in reply to Re: map not returning
in thread map not returning
It would work better like this:
my @list_of_params = map { s/^'(\d+?)'$/$1/ } map { $_ eq 'NULL' ? 'undef' : $_ } split (/\s*,\s*/,$params);
Dave
"If I had my life to do over again, I'd be a plumber." -- Albert Einstein
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: map not returning
by surag (Novice) on Sep 11, 2003 at 01:37 UTC |