in reply to Idiomatic Perl?

When using eval as a poor man's try/catch, don't use the eval EXPRESSION form, use the eval { CODE } one:
my $answer; eval { $answer = ($str =~ $pattern); 1 } or warn "Error in the pattern +: $@";
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,