How to create the grep -v command in Perl, here is the clue :
[pene@donunix] perl -ne "! /your_string/ && print" file.txt
And if you want to write the output directly into the input file (file.txt), just type this :
[pene@donunix] perl -i.bak -ne "! /your_string/ && print" file.txt