Help Help Help TypeErrors Run!!!!!!!

I'm pulling my hair out!!!! How do I save the values from an object that can be marshalled? Specifically, I am using NET::Ldap and there seems to be a problem with the returned entry object and storing it or anything from it, within a session..... It brings my server to it's knees...either giving a typeerror, or a 500 error.

I am a newbie so please be gentle, but is there ANY way to transfer the values and not ref the original object so I can save the values in my session?

Thanks in advance...... phill