Funny enough, when i append the result of $chars[int rand @chars]; to $alphanumber, the space disappears; What exactly is the meaning of assigning '' to a variable?my $alphanumber = ''; for (1..$length) { my $alphanumber .= $chars[int rand @chars]; }
In reply to Assigning Null to a variable by Ombongi.Moraa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |