Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and i want to make a substitution in which i want to remove occurence of perl from this line. i tried this by using file handle for that file and doing following substitution$ret_val = system("perl $ENV{SOURCE_ROOT}/scripts/Test_script.pl");
but i am getting following error message$line =~ s|\perl \$ENV{SOURCE_ROOT}/scripts/Test_script.pl|\$ENV{SOURC +E_ROOT}/scripts/Test_script|si;
i dont know why this is coming . how can this be removed so that my substituton is done correctlyCan't find unicode character property definition via main->e or e.pl a +t unicode/Is/e.pl line 41
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getting error messaeg while substitution
by dave_the_m (Monsignor) on Apr 02, 2006 at 18:30 UTC | |
|