because each time the part between the two / / is the same, I get the feeling this can be done in a shorter way, right ?if ( $a =~ /abcdefgh/ || $b =~ /abcdefgh/ || $c =~ /abcdefgh/ || ..... +.. ) { }
In reply to howto make a very long IF statment shorter by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |