perl programming???
while (<IN2>)
{
if ($_ =~ /xml version/)
{
print $Count++, " ", $_;
print OUT $_;
}
else
{
exit
}
I have this above program where the $_ searh for the "xml version". But I wanted it to change and look for <?xml version="1.0" the problem is it gives out an error when searching for <?xml version="1.0". Please help???
|