http://www.perlmonks.org?node_id=163775


in reply to when is a string not a string?

how are you calling getData? object-oriented-style will give you the object as first argument: $obj->getData("select ....");

another thought: is the <kbd>sub</kbd> in front of getData missing?

--
Brigitte    'I never met a chocolate I didnt like'    Jellinek
http://www.horus.com/~bjelli/         http://perlwelt.horus.at