nvivek has asked for the wisdom of the Perl Monks concerning the following question:
When I executed the script, numerals aren't changed to Number => 1. It remains same. Note: When I executed the sed command in shell prompt, it replaced the content of file properly as Number => 1 properly.use strict; use warnings; system("sed -ie 's/\(.*\)/Number => \1/' test.txt");
|
|---|