my $params = "'196', 'berg',NULL,NULL"; my @list_of_params = map { s/^'(\d+?)'$/$1/m; $_ eq 'NULL' ? undef : $_ } split /\s*,\s*/, $params;
In reply to Re: Re: map not returning
by ctilmes
in thread map not returning
by surag
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |