if ( m/\b$remove\b/ ) { # do stuff here }