author | krauss |
Mon, 21 Mar 2011 14:46:59 +0100 | |
changeset 42038 | 626fcf4a803e |
parent 42037 | 1571fde21911 |
child 42039 | cef738d55348 |
child 42040 | 869df9b88deb |
--- a/src/HOL/Mirabelle/lib/scripts/mirabelle.pl Mon Mar 21 14:37:10 2011 +0100 +++ b/src/HOL/Mirabelle/lib/scripts/mirabelle.pl Mon Mar 21 14:46:59 2011 +0100 @@ -31,7 +31,7 @@ $end_line = $3; } my ($thy_name, $path, $ext) = fileparse($thy_file, ".thy"); -my $rand_suffix = map { ('a'..'z')[rand(26)] } 1 .. 10; +my $rand_suffix = join('', map { ('a'..'z')[rand(26)] } 1 .. 10); my $new_thy_name = $thy_name . "_Mirabelle_" . $rand_suffix; my $new_thy_file = $path . "/" . $new_thy_name . $ext;