From d7059449d9787681beb5572f0896300641be4ca8 Mon Sep 17 00:00:00 2001 From: Denis Zheleztsov Date: Fri, 10 Jul 2015 14:04:04 +0300 Subject: [PATCH] Hotfi --- Password.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Password.pm b/Password.pm index 645d290..ace4b32 100644 --- a/Password.pm +++ b/Password.pm @@ -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; } }