REGEXP '[[:alnum:]]+'
REGEXP und IS NULL
QuoteDatenbank-Felder ohne Inhalt, und solche mit "NULL" sind mit length nicht zu unterscheiden.
1
2
3
4
5
6
7
8
9
10
perl -wE "$a=undef; say length($a); printf qq~Version: %vd\n~, $^V; "
Use of uninitialized value in say at -e line 1.
Version: 5.14.2
# alternativ
perl -wle "$a=undef; print length($a); printf qq~Version: %vd\n~, $^V; "
Use of uninitialized value in print at -e line 1.
Version: 5.14.2
1 2 3 4 5 6 7
use strict; use warnings; my $len = length(undef); # Zeile 4 print $]; # Use of uninitialized value in length at ... line 4. # 5.006001