in reply to Howto strip 42 from comma separated list using s///
$_ = join ',', grep { $_ ne '42' } split ','; [download]