Jan 19, 2016, 7:22 AM
Post #2 of 2
Why are you doing this as a piped system command without any error checking/handling?
Re: [john_oracle] Perl one liner inside system command
[In reply to]
This is perl, not shell scripting.
Instead of the system call, open the file in the script and process it as needed. I also recommend that you take a look at some of the config parser modules on cpan to find one that can aide in modifying the file.