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");
In reply to sed isn't working within a perl script by nvivek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |