Hello,
I have this situation wherein I have to run a perl script over
pre-processed files. Eg: File "A.cfg" needs to be preprocessed to say
"A" and then my perl script works on it. This preprocessing is done, as
of now, by command line call of " gcc -E A.cfg > A" and then a command
to run the per
Hello,
(snip)
I am trying to use the s/// operator to remove it, by doing this:
while()
{
$_ =~ s/\[*\]//;
$_ =~ s/\(*\)//;
print $_;
}
(snip)
The method used is incorrect.
$_ =~ s/\[*\]//; ---> This says that the search is for opening
parenthesis (zero or more occurre