What are you storing in @tie?
You really need to post a complete self-contained example to get any help.
I suspect you're storing some kind of object, and filter it through eval, and then expect to be able to call methods on it? That's asking for trouble.
MJDsays "you can't just make shit up and expect the computer to know what you mean, retardo!"