die "..." if $string =~ /:|.{17}/;
This accepts all strings less than 17 characters. perl514 wants only strings exactly 16 characters.
>perl -wMstrict -le "my $string = 'foo'; ;; die '...' if $string =~ /:|.{17}/; ;; print qq{processing '$string'}; " processing 'foo'
In reply to Re^2: How to insert || and && in an if loop
by AnomalousMonk
in thread How to insert || and && in an if loop
by perl514
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |