Posting your whole script, or a larger part might be helpful and get more response. <sidenote>are you using strict and warnings?</sidenote>
My original hunch was that the "where" method was not being exported and therefore was not "loaded" by your script, upon a slight more research I was *unable* to find the "where" function you are using anywhere except in the documentation for SQL::Statement, which makes reference to the "where" method existing in the SQL::Statement::OP package which I could also not find either in the source for SQL::Statement nor elsewhere on CPAN. You might want to crack open the source for the module you have installed but I wasn't able to locate where this method is defined (other than in the docs). You might also contact the creator of the module about this specific problem. http://danconia.org Hytham Shehab wrote: > hi guys, > how can i parse the where clause in an SQL::Statement object instance? > $statement = SQL::Statement->new("select 1,2,3 from table where x=y"); > now when i do this: > $where = $stmt->where(); > it gives me error: > Can't locate object method "where" via package "SQL::Statement" (perhaps you > for > got to load "SQL::Statement"?) at blah line 34. > > any idea? > thanks > > -- > Hytham Shehab > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]