$data =~ /$_/s [download]
In reply to Re: Using regexp with binary data by davidrw in thread Using regexp with binary data by Anonymous Monk