This commit is contained in:
Denis Zheleztsov 2015-07-10 14:04:04 +03:00
parent 1447f0fde8
commit d7059449d9

View File

@ -182,7 +182,7 @@ sub generate {
my @r_special = ( '!', '@', '(', ')', '#', '$', '%', '^', '&' );
for (1..10) {
foreach my $special (@r_special) {
$chars[ rand(@chars) ] = $special ];
$chars[ rand(@chars) ] = $special;
}
}