in reply to objects in cgi

something to clarify, I had avariable, $state for the example, that returned the state of the current page the user is in. when I used print CGI::Dump() to dump the list of vars I get from web I could see:
* state - createUser # for example
Now, the web designer here changed the page to return objects and when I try CGI::Dump() again I now get:
* state - [object]
and that's new to me, so I ask for a little help here, is there something wrong with the javascript code (that the web designer wrote) that the CGI can't handle, or is there something I'm missing here?

Hotshot