in reply to Problem: Cant find mistake !!!

Hi! I found the mistake, it's just a small error in the first script, where you generate the $plaintext. This section:

#... open(PLAINTEXT,">Plain") || print "Error to write to the file"; print PLAINTEXT "$server\|$login\|$password\n";· local $/; $plaintext = <PLAINTEXT>; close(PLAINTEXT); #...

Should probably be like this:

#... $plaintext = "$server\|$login\|$password\n"; #...

Replies are listed 'Best First'.
Re^2: Problem: Cant find mistake !!!
by padawan_linuxero (Scribe) on Apr 19, 2008 at 17:33 UTC
    Thanks !

    That was it !!!

    THANK YOU!!!!
      Now that you have the solution, do you understand what the problem was?

      Before you got the solution, did you use the debugger or print statements to narrow down what the problem was?