Leser: 1
|< 1 2 3 >| | 21 Einträge, 3 Seiten |
1
2
print&f(($_=(3x3)."3+33")=~s=3(?![^3]|$)=&f=eg);
sub f{eval(@_?$_:"'$&+'x3");}
1
2
3
4
ref(my $feld = [1]) eq 'ARRAY' and $feld = $feld->[0];
print $feld;
^Z
ARRAY(0x22544c)
Quoteinvalid( [field] )
In an array context, it returns the list of fields which contains invalid value.
In a scalar context, it returns an hash reference which contains the invalid fields as keys, and references to arrays of failed constraints as values.
If called with an argument, it returns the reference to an array of failed constraints for field.
|< 1 2 3 >| | 21 Einträge, 3 Seiten |