@file = grep { ! /matching_line/ } @file;