in reply to Replace table values from text database
I do not think it is illustrative enough in its current form
Perhaps, but I would say the main cause of that is the lack of sample data and expected output, not the node title. My own eye was drawn to the unescaped dot in your regexp, and a couple of other small things, but it's impossible to tell whether they are affecting your script, because we can't see any data. So please post a small sample of the input data and the expected output.
Also, I would suggest using a hash, loop, and substitution inside your program rather than shelling out to call a Perl one-liner for each line you are comparing; just seems cleaner, not to mention more efficient and safer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Replace table values from text database
by Alfumao (Initiate) on Mar 14, 2016 at 14:12 UTC | |
by 1nickt (Canon) on Mar 14, 2016 at 14:29 UTC | |
by Alfumao (Initiate) on Mar 14, 2016 at 14:41 UTC | |
by 1nickt (Canon) on Mar 14, 2016 at 16:16 UTC |