Anonymous user
Password generator: Difference between revisions
→{{header|Raku}}
Line 3,081:
}
sub char-groups( @exclude is copy )
{
my %char-groups =
lc => ['a' .. 'z'],
uc => ['A' .. 'Z'],
digit => ['0' .. '9'],
special =>
for %char-groups
{
unless %char-groups< special >;▼
%char-groups{ $_ } = %char-groups{ $_ } (-) @exclude;
}
%char-groups;
|