in reply to Problem with hash

Did you try displaying $lineas and $banco before the offending statement?

Did you try modifying your code so that $banco had to be defined before using it as the key to a hash?