in reply to Re^2: Short version of database push for multiple variables
in thread Short version of database push for multiple variables
In case the original version doesn't work for you (error "Search pattern not terminated at ..."), your Perl might be too old (<5.10). In this case, you could say instead
my @a = map defined $_ ? $_ : 'NA', split /\t/, $line;
Or upgrade Perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Short version of database push for multiple variables
by Anonymous Monk on May 13, 2012 at 18:18 UTC | |
by Eliya (Vicar) on May 13, 2012 at 18:24 UTC |