while () { $logline=$_; $logline =~ s//>/g; print ("The whole line is ---> ",$logline); }