Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Making a Class::DBI object reference

by perrin (Chancellor)
on Apr 02, 2004 at 21:41 UTC ( [id://342150]=note: print w/replies, xml ) Need Help??


in reply to Making a Class::DBI object reference

You can't just override new() like that. You are subclassing other classes that implement new() and excpect it to be called.

You question makes it sound like you don't really understand the difference between object methods and class methods. A Class::DBI object represents a specific row of data. You wouldn't call methods on it that don't correspond to that single row. Maybe you should read a little more primer stuff about OO, like the tutorials that come with the perl man pages.

  • Comment on Re: Making a Class::DBI object reference

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://342150]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-26 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found