- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
# АРТ
return -1 if
!$project_id ||
length $name > 32 || !(length $name) ||
length $password > 32 || !(length $password) || #########->*
length $repassword > 32 || !(length $repassword) ||
$name =~ /[^\w\d]+/ig ||
$password =~ /[^\w\d]+/ig ||
$repassword =~ /[^\w\d]+/ig;