in reply to Re^2: sed in perl: syntax error at script.pl line 19, near “;$'”
in thread sed in perl: syntax error at script.pl line 19, near “;$'”
Hi rancho trojan
Ok I just added code formatting as mentioned.
That is good, but also did you see this statement
..sed is a nice utility, but it is not part of Perl syntax.. from Laurent_R?
So for you to make your code work without any change, since it worked for you on the CLI, please check the usage of system in perl.
You might really start thinking of doing all your work in perl like it was previously advised, instead of calling sed in perl, as you will like to do.
|
|---|