Added special characters

This commit is contained in:
Denis(Difrex) Zheleztsov 2014-09-03 18:51:28 +04:00
parent 0f9abb99f7
commit 8c8dd25ef1

View File

@ -122,7 +122,7 @@ sub save {
# Generate password
sub generate {
my @chars = ( "A" .. "Z", "a" .. "z", 0 .. 9 );
my @chars = ( "A" .. "Z", "a" .. "z", 0 .. 9, '!', '@', '$', '(', ')' );
my $string;
$string .= $chars[ rand @chars ] for 1 .. 16;