perl -Mre=debug -le'"some test data here" =~ /your regex here/'