Is it issuing this warning multiple times for the same run? Otherwise: you get an error the first time through because you never set $alphabet{$s} to anything for its first use, but at the end of your sub, you ++ it, which means that thereafter it has a valid value (i.e. has been "initialized").
In reply to Re: uninitialized value in modulus (%)
by ichimunki
in thread uninitialized value in modulus (%)
by alexiskb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |