Do you know where your variables are? | |
PerlMonks |
BRUTEFORCE problem and a ?bug?by xoddam (Novice) |
on Mar 19, 2007 at 16:22 UTC ( [id://605516]=perlquestion: print w/replies, xml ) | Need Help?? |
xoddam has asked for the wisdom of the Perl Monks concerning the following question:
First heres my first problem. I did program a simple NUMERIC BRUTE TOOL,
Ok and now i want to do the same with ALPHABET. I really dont have an idea ho to make somethin like "A + 1 = B" ... So i made it another way. Translated Alpabet to numbers from 0-24. And i got this source :
It says all time only ERROR uninitialized value .. What the hell? Just want that if i give F to search it goes like A B C D E F - F STOP ! GOTCHA ... And it does not stop, it does not find the letter ... only error and error :) And the second problem is not big deal ... Have a look on the first program, test it and have a look on the END, AFTER GOTCHA > Number, it jumps to a new LINE and so the "!!!" stand alone one Line benath the others, what the hell? There is no "\n" This two problems are destroying me today please if you have time help me .) - yea and my brute Alphabetical Tool searches only if there is one Letter .. i have no idea how to make it if there should be more ... TY Edit: g0n - replaced pre tags with code tags
Back to
Seekers of Perl Wisdom
|
|