in reply to uninitialized value in modulus (%)
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").
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: uninitialized value in modulus (%)
by alexiskb (Acolyte) on Aug 19, 2002 at 14:58 UTC |
In Section
Seekers of Perl Wisdom