Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: OO Coding - way to make it "save" the values?

by ultranerds (Friar)
on Jul 27, 2011 at 12:04 UTC ( #917004=note: print w/ replies, xml ) Need Help??

in reply to Re: OO Coding - way to make it "save" the values?
in thread OO Coding - way to make it "save" the values?


Thanks. I don't really wanna use another DBI module, as I wanna try and play around with how this OO stuff works :) (as I said, its only a personal project). Gonna have a look at a way to distingish between the tables now

Thanks for the reply


Comment on Re^2: OO Coding - way to make it "save" the values?
Replies are listed 'Best First'.
Re^3: OO Coding - way to make it "save" the values?
by Anonymous Monk on Jul 27, 2011 at 12:15 UTC

    Here is hint

    sub table { return AndySQL::Table->new( db => shift, tablename => shift ); }

    ultranerds, I highly suggest a reading of Beginning Perl Chapter 11: Object-Oriented Perl, followed by the Objects chapter of Modern Perl


      Thanks, I've actually read the one in Beginning Per, but not the "Modern Perl" one... I'll get that book on order now

      Regarding your suggestion - thats, I'll give that a go :)


      Sweet, I got it working - thanks for the help :)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2015-11-27 11:49 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (727 votes), past polls