in reply to BRUTEFORCE problem and a ?bug?

Firstly, please use <code> and </code> tags.

You could set up your @alphabet using the range operator (..), like this

my @alphabet = (q{a} .. q{z});

You probably want to remove the newline (or whatever your platform uses) before doing any comparison

chomp(my $hladane = <STDIN>);

You are not assigning the first letter of the alphabet to $slovo but doing the reverse, change to

$slovo = $alphabet[$nummer];

Perl does allow you to increment letters

$ perl -le '$let = q{a}; $let ++; print $let;' b $

I hope this is of use.

Cheers,

JohnGG