From 00338851fed4ad3c53fab505cb183a618a09bb10 Mon Sep 17 00:00:00 2001 From: "Denis(Difrex) Zheleztsov" Date: Wed, 3 Sep 2014 18:51:28 +0400 Subject: [PATCH] Added special characters --- Password.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Password.pm b/Password.pm index 102df30..fb64b1f 100644 --- a/Password.pm +++ b/Password.pm @@ -136,7 +136,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;